Unix Tutorial 1

A very brief history of Unix


Relationship of Kernel and Shell

Kernel

Systems Programs

Shell

Operating System Components


fork( ), exec( ) and wait( )

Illustration of Process Control Calls


Internal and External Commands

Internal Commands

External Commands

Search Path


Commonly used Unix shells

Bourne shell (sh)

C shell (csh)

TC shell (tcsh)

Korn shell (ksh)

"Bourne-again" shell (bash)

Summary of shell features

Feature Function Bourne C TC Korn BASH
command history Allows previous commands to be saved, edited, and reused No Yes Yes Yes Yes
command alias Allows the user to rename commands No Yes Yes Yes Yes
shell scripts Yes Yes Yes Yes Yes
filename completion Allows automatic completion of partially typed file name No Yes Yes Yes Yes
command line editing Allows the use of an editor to modify the command line text No No Yes Yes Yes
job control Allows processes to be run in the background No Yes Yes Yes Yes

Which shell am I using?


References: