To find out what version of Ksh you have installed on your machine:

escape key sequence

Type this, followed by enter: And then press these keys:
  1. press escape
  2. press ctrl-v
It will display something like:

command-line args

ksh --version

shell variables

echo $KSH_VERSION