Section 7.1. Introduction


[Page 246 (continued)]

7.1. Introduction

The Korn shell is available for Linux as the Public Domain Korn Shell (pdksh), a public domain reimplementation that is intended to be a clone of the UNIX ksh. Although sometimes not installed in the default set of Linux packages, pdksh is included in most Linux distributions. Another Linux shell, the Z shell (zsh, written by Paul Falstad), also implements most features of the Korn shell, but does not claim complete compatibility with the original Korn shell.

The Korn shell supports all of the shell facilities described in Chapter 5, "The Linux Shells," as well as the control structures and conditional expressions described in Chapter 6, "The Bourne Again Shell." The following features unique to the Korn shell are discussed in this chapter:

  • command customization using aliases

  • access to previous commands via a history mechanism (through vi-like and emacs-like command-line editing features)

  • functions

  • advanced job control

  • several new built-in commands




Linux for Programmers and Users
Linux for Programmers and Users
ISBN: 0131857487
EAN: 2147483647
Year: 2007
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net