FG

How to permanently add current directory to PATH in Linux?

Fresh3 days ago
Mar 15, 202645761 views
Confidence Score0%
0%

Problem

Possible Duplicate: Add folder to PATH I want to a add a directory to my bash to search in, and I am using the $PATH=.... it works however when I open a new command window it is not there. How can I permanently add this to the path on Linux?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to permanently add current directory to PATH in Linux?

Low Risk

Add a line to your . See this question for details.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment