Linux System Administration
Shells
The Command Path
How can we change the PATH for every shell we open?
Change your .bash_profile
Edit the following line near the end of the file:
PATH=$PATH:$HOME/bin
Change it to the following:
PATH=$PATH:$HOME/bin:/sbin
This will change the PATH for every shell you now open.
Prev
Page 8
Next