[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
bg
bg [jobspec] |
fg
fg [jobspec] |
jobs
jobs [-lnprs] [jobspec] jobs -x command [arguments] |
The first form lists the active jobs. The options have the following meanings:
-l
-n
-p
-r
-s
If jobspec is given, output is restricted to information about that job. If jobspec is not supplied, the status of all jobs is listed.
If the `-x' option is supplied, jobs
replaces any
jobspec found in command or arguments with the
corresponding process group ID, and executes command,
passing it arguments, returning its exit status.
kill
kill [-s sigspec] [-n signum] [-sigspec] jobspec or pid kill -l [exit_status] |
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.
wait
wait [jobspec or pid] |
disown
disown [-ar] [-h] [jobspec ...] |
SIGHUP
is not sent to the job if the shell
receives a SIGHUP
.
If jobspec is not present, and neither the `-a' nor `-r'
option is supplied, the current job is used.
If no jobspec is supplied, the `-a' option means to remove or
mark all jobs; the `-r' option without a jobspec
argument restricts operation to running jobs.
suspend
suspend [-f] |
SIGCONT
signal. The `-f' option means to suspend
even if the shell is a login shell.
When job control is not active, the kill
and wait
builtins do not accept jobspec arguments. They must be
supplied process IDs.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |