LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Commands not working in Red Hat Linux Enterprise 5 (https://www.linuxquestions.org/questions/linux-newbie-8/commands-not-working-in-red-hat-linux-enterprise-5-a-748587/)

anis_huq 08-18-2009 09:58 PM

Commands not working in Red Hat Linux Enterprise 5
 
Weird things happening,
I wanted to see the drives and used the fdisk -l command (in "su" mode). But it says "Bad Command". Also I remember unix had a command uname -X which also isn't working.

Also Red Hat Linux Enterprise 5 doesn't go into "Suspend" mode?

Whats going on??? Can anyone tell me?

Bye.

pixellany 08-18-2009 10:02 PM

Typically, in RedHat systems, you have to take on the root environment to run certain commands without the full path. This is because the PATH environment variable is set differently for root vs. regular users.

In a terminal, enter "su -" to take on root's privileges **and** environment

scottro11 08-18-2009 10:40 PM

I have a little page on this. (It was changed in Fedora, around the time of F10, I think).

http://home.roadrunner.com/~computer...su/rhpath.html

chrism01 08-18-2009 11:33 PM

Do what Pixellany said, then

fdisk -l

uname -a

here's the Deployment Guide for RHEL 5: http://www.linuxtopia.org/online_boo...ion/index.html ; recommended.


All times are GMT -5. The time now is 06:07 PM.