How do I change the PATH in Unix?

Ngô Thị Vân

New member
How do I change the PATH in Unix?
Answer
To modify your path
In all cases,
replace /dir/path with the directory you want the shell to search. Note: Earlier entries in the path take precedence over later ones. If you want the directories you add to your path to take precedence, in the examples above, replace $PATH:/dir/path with /dir/path:$PATH .
 

Tìm kiếm

Back
Top