Đặng Thu Hà
New member
How do I permanently set path in Linux Unix?
Answer
You may set $PATH permanently in 2 ways.
Answer
You may set $PATH permanently in 2 ways.
- To set path for particular user : You may need to make the entry in . bash_profile in home directory in the user. …
- 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.