Computer Dictionary/C shell

Jump to: navigation, search

(csh) The Unix command-line interpreter

shell and script language by William Joy, originating from Berkeley Unix.

Unix systems up to around Unix Version 7 only had one shell - the Bourne shell, sh. Csh had better interactive features, notably command input history, allowing earlier commands to be recalled and edited (though it was still not as good as the VMS equivalent of the time).

Presumably, csh's C-like syntax was intended to endear it to programmers but sadly it lacks some sh features which are useful for writing shell scripts so you need to know two different 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 which are provided with most versions of Unix.

.cshrc (C Shell run commands) A C Shell startup configuration file. This file is found in a user's [[Computer Dictionary/home directory|home directory]] and can contain shell and other commands to set variables, define aliases, and perform any other initialisation which should happen for every shell (as opposed to .login which is only run for a login shell).


See also rc.

Discussion about "Computer Dictionary/C shell":

None Discussion Now.

Add Discussion