The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script doesn't work, but commands inside work cheongww UNIX for Dummies Questions & Answers 2 11-14-2006 06:52 PM
how do I get my arrow keys to work for looking thru my PREVIOUS UNIX COMMANDS spotnis UNIX for Dummies Questions & Answers 11 09-13-2005 10:22 PM
Basic Unix Commands for cygwin sanjay.karthik Windows & DOS: Issues & Discussions 0 07-25-2005 06:38 AM
Need help in sftp basic commands livetaurean19 Shell Programming and Scripting 2 06-15-2005 05:41 AM
Unix basic commands Peter Spellman UNIX for Dummies Questions & Answers 3 08-10-2001 04:41 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-21-2006
Registered User
 

Join Date: May 2006
Location: Hamburg, Germany
Posts: 8
Stumble this Post!
Angry Why do basic unix commands not work in BASH

Why do basic unix commands such as "ls" not work in "BASH" mode??
I am frustrated!!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-21-2006
jsandova's Avatar
Registered User
 

Join Date: May 2006
Location: Burbank Ca
Posts: 27
Stumble this Post!
What do you mean by BASH mode? Are you using a BASH shell? If so ls works in BASH just as any other basic command.
Reply With Quote
  #3 (permalink)  
Old 05-22-2006
Registered User
 

Join Date: May 2006
Location: Hamburg, Germany
Posts: 8
Stumble this Post!
Yes, it's true. When I launch a "bash" shell, none of the major commands work. E.g. when I type "ls" I get an error "Command not found". The same with virtually all other commands except "cd" and "pwd" or "cd ..".

Is it possible that I made some unwanted changes to any of the configuation files? I think Unix hates me....
Reply With Quote
  #4 (permalink)  
Old 05-22-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,844
Stumble this Post!
What shell are you using now?

Code:
echo $SHELL
will probably tell you
Reply With Quote
  #5 (permalink)  
Old 05-22-2006
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
Stumble this Post!
check your path
Reply With Quote
  #6 (permalink)  
Old 05-22-2006
hu$h's Avatar
Registered User
 

Join Date: May 2006
Posts: 17
Stumble this Post!
check usr/bin for commands.
check system script (etc/profile) to see if PATH is pointing to usr/bin

Last edited by hu$h; 05-22-2006 at 02:50 PM.
Reply With Quote
  #7 (permalink)  
Old 05-22-2006
Registered User
 

Join Date: May 2005
Posts: 37
Stumble this Post!
Your PATH is wrong!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:38 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0