Wednesday, May 26, 2010

How to set PATH in linux

This is the command you have to execute:-

export PATH=$PATH:/usr/local/bin


And if you want the PATH to add to root user if you are not present then make change in /root/.bash_profile.
This will be the permanent change.


No comments:

Post a Comment