The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 10: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-14-2005 01:22 AM
Basic Unix Commands for cygwin sanjay.karthik Windows & DOS: Issues & Discussions 0 07-25-2005 09:38 AM
Need help in sftp basic commands livetaurean19 Shell Programming and Scripting 2 06-15-2005 08:41 AM
Unix basic commands Peter Spellman UNIX for Dummies Questions & Answers 3 08-10-2001 07:41 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-21-2006
PixelLover PixelLover is offline
Registered User
  
 

Join Date: May 2006
Location: Hamburg, Germany
Posts: 8
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!!
  #2 (permalink)  
Old 05-21-2006
jsandova's Avatar
jsandova jsandova is offline
Registered User
  
 

Join Date: May 2006
Location: Burbank Ca
Posts: 28
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.
  #3 (permalink)  
Old 05-22-2006
PixelLover PixelLover is offline
Registered User
  
 

Join Date: May 2006
Location: Hamburg, Germany
Posts: 8
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....
  #4 (permalink)  
Old 05-22-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,715
What shell are you using now?

Code:
echo $SHELL
will probably tell you
  #5 (permalink)  
Old 05-22-2006
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
check your path
  #6 (permalink)  
Old 05-22-2006
hu$h's Avatar
hu$h hu$h is offline
Registered User
  
 

Join Date: May 2006
Posts: 17
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 05:50 PM..
  #7 (permalink)  
Old 05-22-2006
yarx yarx is offline
Registered User
  
 

Join Date: May 2005
Posts: 37
Your PATH is wrong!
Sponsored Links
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0