Which Version Do You Have?

To determine which version of the Korn shell you are using, run the following command:

					$ print ${.sh.version}
					Version 1993-12-28 i
				

If you don't get a version back from this command, then you are probably using an older version of the Korn shell. Try running the what command on the Korn shell binary (usually located in /bin/ksh):

					$ what /bin/ksh
					Version  12/28/93
				

Get Korn Shell: Unix and Linux Programming Manual, Third Edition, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.