The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need Shell script for getting Firefox Browser Version kjannu UNIX for Dummies Questions & Answers 2 06-27-2006 08:23 PM
Shell Command for finding out Firefox version kjannu Shell Programming and Scripting 0 06-25-2006 09:54 PM
NIS version hdk2oo5 SUN Solaris 1 09-13-2005 05:23 AM
version of OS tselvanin UNIX for Dummies Questions & Answers 4 10-07-2003 07:26 AM
korn shell version at runtime? qanda Shell Programming and Scripting 3 08-21-2002 05:56 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-2008
Registered User
 

Join Date: Mar 2006
Posts: 17
How can I know what shell version

Hello

I would like to know what version of shell my system is running, how can L do that?

I use both KSH and BASH

Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-18-2008
era era is online now
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,056
bash --version or echo $BASH_VERSION while running the bash shell.

ksh will apparently display its version number if you type ctrl-v while in the shell. I was unable to quickly find any other mechanism for identifying its version.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:57 AM.


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