Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-05-2014, 11:40 PM   #1
LQ Newbie
Registered: Aug 2014
Posts: 1

Rep: Reputation: Disabled
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.
Old 08-06-2014, 12:13 AM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288

are you sure bash is installed? What if the output of the following?
file /bin/bash
Also, exactly which commands show that error?

Old 08-06-2014, 06:14 PM   #3
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,713

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
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.

Last edited by jpollard; 08-06-2014 at 10:09 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: ns: command not found using ns-2.31 Vixxx Linux - Software 23 11-12-2012 04:45 AM
bash: command not found hamish Linux - Newbie 7 02-23-2011 05:28 PM
bash: ls-l:command not found umeshgupta1987 Linux - Newbie 1 10-03-2010 07:46 AM
[SOLVED] bash: command not found rohit0825 Linux - Newbie 4 01-24-2010 06:31 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration