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 07: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 Search this Thread Display Modes
  #8  
Old 05-23-2006
Registered User
 

Join Date: May 2006
Location: Hamburg, Germany
Posts: 8
Angry

When I enter "echo $SHELL" I get:

/bin/bash

However, my terminal window is named:

Terminal - sh -csh

How is this possible? Am I running three shells at once?
Reply With Quote
Forum Sponsor
  #9  
Old 05-23-2006
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,029
do "echo $0"
that's the shell you're running
Reply With Quote
  #10  
Old 05-23-2006
Registered User
 

Join Date: May 2006
Location: Hamburg, Germany
Posts: 8
OK, I just did. The result is:

sh
Reply With Quote
  #11  
Old 05-23-2006
System Shock's Avatar
Registered User
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 395
Quote:
Originally Posted by PixelLover
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....
If what you are doing is logging in, then at the command line typing bash, you are losing your path.

If you want to use bash as your shell, ask your SA to change your login shell to bash.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:54 AM.


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

Content Relevant URLs by vBSEO 3.2.0