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
Linux Shell Question: how to print the shell script name ? meili100 UNIX for Dummies Questions & Answers 3 07-01-2008 10:55 AM
Difference between writing Unix Shell script and AIX Shell Scripts haroonec AIX 0 04-11-2006 11:27 PM
How to run unix commands in a new shell inside a shell script? hkapil Shell Programming and Scripting 2 01-04-2006 02:56 AM
how to convert from korn shell to normal shell with this code? forevercalz Shell Programming and Scripting 21 11-22-2005 10:18 PM
simple shell - how to get a parameter typed in a shell script cmitulescu Shell Programming and Scripting 3 12-05-2001 11:04 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2001
ober5861's Avatar
Registered User
 

Join Date: Jul 2001
Location: Gettysburg, PA
Posts: 116
Stumble this Post!
Unhappy Which shell am I using?

Is there an easy way to tell what shell you are using? I'm used to bash and wish I had it on this system (HP-UX setup), but I can't tell what shell I'm using. The prompt doesn't give it away, but there are several (chsh, keysh, ksh, sh) in my /bin directory which I'm guessing are all shells?! Is there a command to check the current shell, and can someone direct me to a place where i might find the bash shell on the net? Thanks!

Forum Sponsor
  #2 (permalink)  
Old 07-17-2001
alwayslearningunix
Guest
 

Posts: n/a
Stumble this Post!
The shell for a user is specified in the /etc/passwd file entry for that user as the last field, you can take a look at that or simply echo the SHELL variable on the command line:

echo $SHELL

which will tell you what shell you are using at the moment.

To download bash binaries:

http://www.gnu.org/software/bash/bash.html

Regards
  #3 (permalink)  
Old 07-17-2001
ober5861's Avatar
Registered User
 

Join Date: Jul 2001
Location: Gettysburg, PA
Posts: 116
Stumble this Post!
Thank you for the quick reply!
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:27 PM.


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