Why do I need to type the full path to the command?
# /sbin/ifconfig
I have a server where I can simply type ifconfig and on some other servers I have to type /sbin/ as well. This is really annoying. How do I have consistent behavior?
feedback
|
|
Modify your .bashrc to include /sbin in your search path.
This will add /sbin (and if you want to add it, /usr/sbin as well) to your command search path. | |||||
feedback
|