Major Features

The Korn shell offers compatibility with the Bourne shell, while providing a more robust programming language and command interpreter. It also contains some features of the C shell. The major features of the Korn shell are:

  • Improved performance. Programs written in the Korn shell can run faster than similar programs written in the Bourne or C shells.

  • Bourne shell compatibility. Programs written for the Bourne shell can run under the Korn shell without modification.

  • Command-line editing. Instead of backspacing or retyping, commands can be edited in vi, emacs, or gmacs mode.

  • Command history. Commands are stored in a history file, which can then be modified and re-executed or just re-executed as is. The commands are saved, up to ...

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.