Man page for apt-get csh Command
This tutorial shows the man page for man csh in linux.
Open terminal with 'su' access and type the command as shown below:
man csh
Result of the Command Execution shown below:
CSH(1) BSD General Commands Manual CSH(1)
NAME
csh a shell (command interpreter) with C like syntax
SYNOPSIS
csh [ bcefimnstVvXx] [argument ...]
csh [ l]
DESCRIPTION
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 a dash (' '), then this is a login shell. 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. Note: if the
environment variable HOME is not set, fast startup is the default.
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).
m Read .cshrc, regardless of its owner and group. This option is dangerous and should only be used by su(1).
n Commands are parsed, but not executed. This aids in syntactic checking of shell scripts. When used interactively, the shell can be terminated by
pressing control D (end of file character), since exit will not work.
s Command input is taken from the standard input.
t A single line of input is read and executed. A backslash ('\') may be used to escape the newline at the end of this line and continue onto another
line.
V Causes the verbose variable to be set even before .cshrc is executed.
v Causes the verbose variable to be set, with the effect that command input is echoed after history substitution.
X Causes the echo variable to be set even before .cshrc is executed.
x Causes the echo variable to be set, so that commands are echoed immediately before execution.
After processing of flag arguments, if arguments remain but none of the c, i, s, or t options were given, the first argument is taken as the name of a file
of commands to be executed. The shell opens this file, and saves its name for possible resubstitution by '$0'. Since many systems use either the standard
version 6 or version 7 shells whose shell scripts are not compatible with this shell, the shell will execute such a ``standard'' shell if the first character
of a script is not a hash mark ('