KILL(1CSH) COMMAND REFERENCE KILL(1CSH) NAME kill - send signal to jobs (csh built-in) SYNOPSIS kill [ -signal ] process... kill -l DESCRIPTION The kill command sends the specified signal (or TERM, if none is given) to the specified processes. A process may either be a process id number or a specifier of the form %job as described in jobs(1csh). The signal argument may be either a signal number or a name as listed by the command kill -l. There is no default process, so executing kill with no process arguments does not send the signal to the current job. If the signal being sent is TERM (terminate) or HUP (hangup), the process is sent the CONT (continue) signal as well, to allow the process to handle the signal specially if it was stopped previously. OPTIONS -l Print a list of valid signal names. The list is printed in signal number order. EXAMPLES Assume that job number 1 is the command ``make mycommand'', and has a process id of 6477. Also, assume that there are no other make(1) jobs executing. The following shows nine different ways to send the terminate (which is signal number 15) signal to the process. kill %1 kill %make kill 6477 kill -TERM %1 kill -TERM %make kill -TERM 6477 kill -15 %1 kill -15 %make kill -15 6477 RETURN VALUE [NO_ERRS] Command completed without error. [1] The process does not exist or is not owned by the user. Printed 4/6/89 1
KILL(1CSH) COMMAND REFERENCE KILL(1CSH) SEE ALSO @(1csh), alias(1csh), bg(1csh), break(1csh), cd(1csh), chdir(1csh), continue(1csh), csh(1csh), dirs(1csh), echo(1csh), eval(1csh), exec(1csh), exit(1csh), fg(1csh), glob(1csh), goto(1csh), hashstat(1csh), history(1csh), jobs(1csh), kill(1), limit(1csh), logout(1csh), nice(1csh), nohup(1csh), notify(1csh), onintr(1csh), popd(1csh), pushd(1csh), rehash(1csh), repeat(1csh), set(1csh), setenv(1csh), sh(1sh), shift(1csh), source(1csh), stop(1csh), suspend(1csh), time(1csh), umask(1csh), unhash(1csh), unalias(1csh), unlimit(1csh), unset(1csh), unsetenv(1csh), wait(1csh), which(1csh), kill(2), killpg(2), and signal(3c). Printed 4/6/89 2
%%index%% na:312,123; sy:435,272; de:707,1017; op:1724,196; ex:1920,599; rv:2519,275; se:3178,1641; %%index%%000000000123