Korn Shell: Difference between revisions
m
no edit summary
m (Korn Shell is derived from and compatible with Bourne Shell.) |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
{{implementation|UNIX Shell}}
'''Korn Shell''', or ''ksh'', is the creation of David Korn at AT&T. This shell combines [[
AT&T freed ksh93 during 2000, using an open-source license. For many years before that, the original Korn Shell was not free; it was only part of AT&T System V and some commercial Unix variants. Therefore, ''ksh'' in some systems is not David Korn's shell, but is some other shell, perhaps [[Public Domain Korn Shell|''pdksh'']] or [[MirBSD Korn Shell|''mksh'']].
== Which Korn Shell do I have? ==
Start ''ksh'' and run
<syntaxhighlight lang
* If the output looks like <code style="background: yellow;">Version JM 93u 2011-02-08</code>, then you have ''[[ksh93]]''.
** Version AJM 93u+ 2012-08-01
* If the output looks like <code style="background: yellow;">@(#)PD KSH v5.2.14 99/07/13.2</code>, then you have ''[[pdksh]]''.
* If the output looks like <code style="background: yellow;">@(
* A ''[[zsh]]'' invoked as ''ksh'' sets ZSH_VERSION, not KSH_VERSION.
|