||Argument list. Contains
the list of command line arguments supplied to the current invocation of
the shell. This variable determines the value of the positional parameters
$1, $2, and so on.
a list of directories to be searched by the cd, chdir, and popd commands,
if the directory argument each accepts is not a subdirectory of the current
full pathname of the current directory. See pwd.
commands (after substitutions) just before execution. See echo.
list of filename suffixes to ignore when attempting filename completion.
Typically the single word ‘.o’.
filename completion, in which case the CTRL-d character EOT and the ESC
character have special significance when typed in at the end of a
terminal input line.
set, pathnames in the directory stack are resolved to contain no symbolic-link
two-character string. The first character replaces ! as the history-substitution
character. The second replaces the carat (^) for quick substitutions.
number of lines saved in the history list. A very large number may use
up all of the C shell’s memory. If not set, the C shell saves only the
most recent command. See history.
user’s home directory. The filename expansion of**~ refers to the value
of this variable.
set, the shell ignores EOF from terminals. This protects against accidentally
killing a C shell by typing a CTRL-d.
list of files where the C shell checks for mail. If the first word of the
value is a number, it specifies a mail checking interval in seconds
(default 5 minutes).
the bell during command completion when asking the C shell to extend an
output redirection so that existing files are not destroyed by accident.
> redirections can only be made to new files. >> redirections can only
be made to existing files.
filename substitution. This is most useful in shell scripts once filenames
(if any) are obtained and no further expansion is desired.
the filename substitution pattern, rather than an error, if the pattern
is not matched. Malformed patterns still result in errors.
set, the shell notifies you immediately as jobs are completed, rather than
waiting until just before issuing a prompt.
list of directories in which to search for commands. path is initialized
from the environment variable PATH, which the C shell updates whenever
path changes. A null word specifies the current directory. The default
is typically (/usr/bin .). If path becomes unset only full
pathnames will execute. An interactive C shell will normally hash the contents
of the directories listed after reading .cshrc, and whenever path is reset.
If new commands are added, use the rehash command to update the table.
string an interactive C shell prompts with. Noninteractive shells leave
the prompt variable unset. Aliases and other commands in the .cshrc
file that are only useful interactively, can be placed after the following
test: ‘if ($?prompt == 0) exit’, to reduce startup time for noninteractive
shells. A ! in the prompt string is replaced by the current event number.
The default prompt is "hostname %" for mere mortals, or "hostname #" for
the privileged user.
number of lines from the history list that are saved in**~/.history when
the user logs out. Large values for savehist slow down the C shell during
file in which the C shell resides. This is used in forking shells to interpret
files that have execute bits set, but that are not executable by the system.
status returned by the most recent command. If that command terminated
abnormally, 0200 is added to the status. Built-in commands that fail return
exit status 1; all other built-in commands set status to 0.
automatic timing of commands. Can be supplied with one or two values. The
first is the reporting threshold in CPU seconds. The second is a string
of tags and text indicating which resources to report on. See the
(wallclock) time for the command.
of block input operations.
amount of unshared stack space used in Kilobytes.
real memory used during execution of the process.
of block output operations.
CPU time - U (user) plus S (system) - as a percentage of E (elapsed) time.
of seconds of CPU time consumed by the kernel on behalf of the user’s process.
of seconds of CPU time devoted to the user’s process.
amount of shared memory used in Kilobytes.
The default summary display
outputs from the %U, %S, %E, %P, %X, %D, %I, %O, %F, and %W tags, in that
each command after history substitution takes place.