Quote:
|
Originally Posted by steve1961
I was running the command as root. However, i've never needed to put the /sbin path in front of the command before. It now works. Thanks for the help.
By the way, I've just moved to fedora after running ubuntu and that uses sudo as default. Thanks for the link to set it up.
|
You have a list of directories called you PATH that are searched for executable programs. Apparently /sbin used to be in your PATH but isn't under the new OS install. You can check your default PATH with
$ echo $PATH
You can change your default path in your startup scripts (e.g. .cshrc), specific syntax will depend on which shell you are using. I use tcsh, so in ~/.cshrc I have lines like this:
set path = (/sbin $path)