some commands are not available

Johannes Christian johannes.sitorus at pacomnet.com
Wed Jun 7 06:36:45 UTC 2006


> 
> hi,
> 
> im a newbie redhat linux user. i just want to ask if theres a way to be
> able
> to make the binaries in /usr/sbin/ directly accessible when I execute them
> in a SSH session.
> 
> here's what happens when i try to execute those commands:
> 
> [root at CristaLe-KwAk sbin]# apachectl restart
> bash: apachectl: command not found
> 
> 
> [root at CristaLe-KwAk sbin]# /usr/sbin/apachectl start
> httpd not running, trying to start
> 
Add /usr/sbin directory to your environment PATH variable
And then #echo $PATH
See whether /usr/sbin listed there

--jo-- 





More information about the fedora-list mailing list