Phạm Khánh Đoan
New member
How do you determine and set the path in Unix?
Answer
You may set $PATH permanently in two ways.
Answer
You may set $PATH permanently in two ways.
- To set the path for a particular user: You may need to make the entry in file . bash_profile in the home directory for the user. …
- To set a common path for all system users, you may need to set the path like this: echo “export PATH=$PATH:/path/to/dir” >> /etc/profile.