LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bash: command not found (https://www.linuxquestions.org/questions/linux-newbie-8/bash-command-not-found-4175513661/)

lexymore 08-05-2014 10:40 PM

Bash: command not found
 
bash:Command not found.almost all command show this error except for few in rhel5. A new installation on vbox. Its giving me a disappointment.I need a help.

evo2 08-05-2014 11:13 PM

Hi,

are you sure bash is installed? What if the output of the following?
Code:

file /bin/bash
Also, exactly which commands show that error?

Evo2.

jpollard 08-06-2014 05:14 PM

Almost sounds like something clobbered the PATH environment variable.

What does "echo $PATH" show?

If it is not defined (or more likely very short...) you can try things like:

export PATH=$PATH:/usr/bin:/bin

This will append /usr/bin and /bin to the path.


All times are GMT -5. The time now is 12:20 PM.