kill [-s sigspec] [-n signum] [-sigspec] jobspec or pid kill -l [exit_status]
Send a signal specified by sigspec or signum to the process named by job specification jobspec or process id pid. sigspec is either a case-insensitive signal name such as SIGINT (with or without the SIG prefix) or a signal number; signum is a signal number. If sigspec and signum are not present, SIGTERM is used. The -l option lists the signal names. If any arguments are supplied when -l is given, the names of the signals corresponding to the arguments are listed, and the return status is zero.
exit status
is a number specifying a signal number or the exit status of a process terminated by a signal. The return status is zero if at least one signal was successfully sent, or non-zero if an error occurs or an invalid option is encountered.
I was wondering what kind of value exit_status
can take?
What does "exit status
is a number specifying a signal number or the exit status of a process terminated by a signal" mean?
kill
is a builtin in bash.