LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Missing Programs? (https://www.linuxquestions.org/questions/linux-newbie-8/missing-programs-180468/)

lehumphr 05-11-2004 06:19 PM

Missing Programs?
 
When i type some commands in like mkbootdisk or chkconfig it says the command not be found but I know they are there. This also happens when i try and shutdown my system from the command line.

[root@localhost lehumphr]# mkbootdisk
bash: mkbootdisk: command not found
[root@localhost lehumphr]# locate mkbootdisk
/usr/share/man/man8/mkbootdisk.8.gz
/sbin/mkbootdisk


I am trying to make a boot disk so I can format a laptop hard drive.

leonscape 05-11-2004 06:23 PM

Did you su too root? if you did the paths are not reset. you have to add a dash after su.
If not then roots path is missing /sbin. The simplest way to get you over this hump for now is to call the command with path i.e.

/sbin/mkbootdisk


All times are GMT -5. The time now is 09:37 PM.