C shell


C shell

(operating system)(csh) The Unix command-line interpretershell and script language by William Joy, originatingfrom Berkeley Unix.

Unix systems up to around Unix Version 7 only had oneshell - the Bourne shell, sh. Csh had better interactivefeatures, notably command input history, allowing earliercommands to be recalled and edited (though it was still not asgood as the VMS equivalent of the time).

Presumably, csh's C-like syntax was intended to endear itto programmers but sadly it lacks some sh features which areuseful for writing shell scripts so you need to know twodifferent syntaxes for every shell construct.

A plethora of different shells followed csh, e.g. tcsh,ksh, bash, rc, but sh and csh are the only ones whichare provided with most versions of Unix.

C shell

A command line processor for Unix. It provides more interactive control than the original Bourne shell, but is not available for all versions of Unix. See Bourne shell, bash shell, Korn shell and Unix.