Search for Ebooks

POSIX and Korn Shell

This tutorial describes the POSIX Shell (/bin/posix/sh) and the Korn Shell (/bin/ksh). POSIX Shell is based on the standard, IEEE P1003.2. Korn Shell is the command interpreter (human interface) written by David Korn at AT&T Bell Laboratories. The tutorial covers the similarities and the differences between these two shells, as well as the new features introduced in the POSIX Shell.

This tutorial addresses new users who are just learning shells, as well as advanced users who are Bourne and C Shell experts. New users should read all of this tutorial. However, at the beginning of each chapter advanced users will be directed to only the areas they need to concentrate on to come up to speed quickly. Both classes of users should finish reading this section.

The kernel is the supervisory part of the HP-UX operating system that keeps track of and assigns system resources to each user. It also coordinates I/O operation, and performs other software functions. A shell is a program that acts as an interface between the system and each user. The shell interprets user commands, then performs system calls to the kernel or loads and runs programs according to the commands given by the user.