Which shell am I using? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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 !!

Which shell am I using?

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-17-2001
ober5861's Avatar
ober5861 ober5861 is offline
Registered User
 
Join Date: Jul 2001
Last Activity: 4 March 2003, 2:05 PM EST
Location: Gettysburg, PA
Posts: 116
Thanks: 0
Thanked 1 Time in 1 Post
Data 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!

Sponsored Links
    #2  
Old 07-17-2001
alwayslearningunix
Guest
 
Posts: n/a
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
Sponsored Links
    #3  
Old 07-17-2001
ober5861's Avatar
ober5861 ober5861 is offline
Registered User
 
Join Date: Jul 2001
Last Activity: 4 March 2003, 2:05 PM EST
Location: Gettysburg, PA
Posts: 116
Thanks: 0
Thanked 1 Time in 1 Post
Thank you for the quick reply!
The Following User Says Thank You to ober5861 For This Useful Post:
manalisharmabe (07-08-2011)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need help with a shell script:Config Transparent Proxy using Shell kaka287 Shell Programming and Scripting 0 01-10-2010 02:58 AM
calling 'n' number of shell scripts based on dependency in one shell script. shashi369 Shell Programming and Scripting 1 11-03-2009 04:31 PM
Help need to make a shell script run for ffmpeg vhook watermaking in shell wingchun22 Shell Programming and Scripting 1 09-27-2008 06:52 AM
How to Start a Shell as Login shell instead of ordinary shell Sivaswami Linux 3 07-01-2008 01:52 PM
Difference between writing Unix Shell script and AIX Shell Scripts haroonec AIX 0 04-12-2006 02:27 AM



All times are GMT -4. The time now is 01:21 AM.