28 December 2010

RHCE Question

What command would you use to add the /usr/sbin directory to your PATH?
___________________________________


Answer

The simplest way to add /usr/sbin to your $PATH is to use the PATH=$PATH:/usr/sbin command. But to make sure this command takes effect the next time you log in, you should add this command to the hidden .bash_profile file in your home directory.


biOos

No comments: