The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #12 (permalink)  
Old 10-24-2008
radoulov's Avatar
radoulov radoulov is offline Forum Staff  
addict
  
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,860
Quote:
Originally Posted by Leo_NN View Post
print ${.sh.version}
ksh: ${.sh.version}: 0403-011 The specified substitution is not valid for this command.

so how to get the real version?
You may try:

Code:
print $KSH_VERSION
If you get no output, you have ksh88.
If you insist to know the exact release of ksh88

set -o vi (or other) -> Esc (to enter in command mode) -> Ctrl+V:

Code:
$ set -o vi
$ Version M-11/16/88i