c
csh(1) | csh(1) |
the output. Useful in programs that use the shell to perform ®le name expansion on a list of words.
goto word
The speci®ed word is ®le name and command expanded to yield a string of the form label. The shell rewinds its input as much as possible and searches for a line of the form label: possibly preceded by blanks or tabs. Execution continues after the speci®ed line.
hashstat
Print a statistics line indicating how effective the internal hash table has been at locating commands (and avoiding execs). An exec is attempted for each component of the path where the hash function indicates a possible hit, and in each component that does not begin with a /.
history
Displays the history event list. If n is given, only the n most recent events are printed. The
if (expression) command
If expression evaluates true, the single command with arguments is executed. Variable substitution on command happens early, at the same time it does for the rest of the if com- mand. command must be a simple command; not a pipeline, a command list, a parenthesized command list, or an aliased command. Input/output redirection occurs even if expression is false, meaning that command is not executed (this is a bug).
if (expression1) then
. . .
else if (expression2) then
. . .
else
. . .
endif If expression1 is true, all commands down to the ®rst else are executed; otherwise if expression2 is true, all commands from the ®rst else down to the second else are exe- cuted, etc. Any number of
jobs
Lists active jobs. The
kill % job
kill - sig % job ...
kill pid
kill - sig pid...
kill
Sends either the TERM (terminate) signal or the speci®ed signal to the speci®ed jobs or processes. Signals are either given by number or by names (as given in /usr/include/signal.h, stripped of the SIG pre®x (see signal(2)). The signal names are listed by kill
Limits the usage by the current process and each process it creates not to (individually) exceed maximum_use on the speci®ed resource. If maximum_use is not speci®ed, then the current limit is displayed; if resource is not speci®ed, then all limitations are given.
If the
Controllable resources currently include:
addresspace Maximum address space in bytes for a process
Section 1−132 | − 4 − |