What is my unix shell version?
There's several ways to determine the ksh version. All will print different results depending on the KSH you're running. Here are the methods for finding the versions:
And here's the table how to do it:
Version |
Commands |
Output |
KSH88 | # set -o emacs # CTRL-V |
Version M-11/16/88f |
KSH93[a-z] | echo ${.sh.version} | Version JM 93t+ 2010-06-21 |
KSH93[a-z] | ksh –version | version sh (AT&T Research) 93t+ 2010-06-21 |
PD KSH | # echo $KSH_VERSION |
@(#)PD KSH v5.2.14 99/07/13.2 |