UNIX Reference Manual | CSH 1 UNIX Reference Manual CSH 1 NAME csh - a shell command interpreter with C-like syntax SYNOPSIS csh -bcefinstvVxX arg . csh -l DESCRIPTION The csh is a command language interpreter incorporating a history mechanism see History Substitutions job control facilities see Jobs interactive file name and user name completion see File Name Completion and a C-like syntax. It is used both as an interactive login shell and a shell script command processor. Argument list processing If the first argument argument 0 to the shell is - thenthisis aloginshell. A login shell also can be specified by invoking the shell with the -l flag as the only argument. The rest of the flag arguments are interpreted as follows -b This flag forces a break from option processing causing any further shell arguments to be treated as non-option arguments. The remaining arguments will not be interpreted as shell options. This may be used to pass options to a shell script without confusion or possible subterfuge. The shell will not run a set-user ID script without this option. -c Commands are read from the single following argument which must be present. Any remaining arguments are placed in argv. -e The shell exits if any invoked command terminates abnormally or yields a non-zero exit status. -f The shell will start faster because it will neither search for nor execute commands from the file .cshrc in the invoker s home directory. -i The shell is interactive and prompts for its top-level input even if it appears not to be a terminal. Shells are interactive without this option if their inputs and outputs are terminals. -l The shell is a login shell only applicable if -l is the only flag specified . -n Commands are parsed but not executed. This aids in syntactic checking of shell scripts. -s Command input is taken from the standard input. -t A single line of input is read and executed. A may be used to escape the newline at the end of this line and continue onto another line. -v Causes the verbose .