How do I permanently set path in Linux Unix?

How do I permanently set path in Linux Unix?
Answer
You may set $PATH permanently in 2 ways.
  1. To set path for particular user : You may need to make the entry in . bash_profile in home directory in the user. …
  2. To set common path for ALL system users, you may need to set path like this : [root~]# echo “export PATH=$PATH:/path/to/dir” >> /etc/profile.
1 февр. 2013 г.
 

Tìm kiếm

Back
Top