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
How to type the Omega symbol Ω in unix shell script NagaMurugesan Shell Programming and Scripting 1 05-15-2008 09:23 AM
Specifying font type and color in a shell script Vani_Govind Shell Programming and Scripting 4 03-13-2008 03:42 AM
Human readable type vs MIME type detection using file spauldingsmails Shell Programming and Scripting 0 03-21-2007 09:43 PM
how to identify the type of shell using comands.. swamymns Shell Programming and Scripting 2 01-17-2006 10:17 PM
Help on Simple shell that look for a file type Peterh Shell Programming and Scripting 5 10-06-2003 09:38 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-04-2006
yipster
Guest
 

Posts: n/a
how to display the shell type

hello,

I was wondering what is the command to display the shell type?

much thanks
Reply With Quote
Forum Sponsor
  #2  
Old 11-04-2006
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
to get the current shell :
echo $0
Reply With Quote
  #3  
Old 11-04-2006
yipster
Guest
 

Posts: n/a
thank you

I just found out echo $SHELL works too.
Reply With Quote
  #4  
Old 11-04-2006
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
Be careful with $SHELL.
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 04:31 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