View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Csh

From LQWiki

Jump to: navigation, search

csh is the C shell, which was created at Berkeley by Bill Joy (also the author of the vi text editor). It was created with the intention of replacing the Bourne shell, sh.

These two shells are the parents of the two main 'families' of Unix-based shells. Notable features include a syntax based on C and enhanced interactivity features.

Specifically, its interactive innovations include features such as aliases, command history, file name completion, and job control. Certain versions of csh, such as the one included in NeXTSTEP and OPENSTEP added intuitive command line editing with keybindings based on vi or emacs.

These interactivity features have been far more influential and useful than the scripting features - csh has come under criticism by some who claim that the scripting features are inadequate or not useful enough for standard scripting uses. Regardless, most recommend using the sh shell for scripting purposes, as it is the standard shell, which is guaranteed on nearly all systems.

An updated version of csh, with some changes such as command line editing, was released as tcsh.

See also

External links

This article is a stub and needs to be finished. Plunge forward and help it grow!


Personal tools