List active jobs.
Syntax jobs [-lnprs] [ jobspec ... ]
jobs -x command [ args ... ] Key -l List process IDs in addition to the normal information.
-p List only the process ID of the job's process group leader.
-n Display information only about jobs that have changed status since the
user was last notified of their status.
-r Restrict output to running jobs.
-s Restrict output to stopped jobs.
The first form lists the active jobs.
If jobspec is given, output is restricted to information about that job. The return status is 0 unless an invalid option is encountered or an invalid jobspec is supplied.
If the -x option is supplied, jobs replaces any jobspec found in command or args with the corresponding process group ID, and executes command passing it args, returning its exit status.
jobs is a bash built in command: $ help jobs
"Less layers, Means more happy players" - Carmel McConnell
bg - Send to background
fg - Send job to foreground
suspend - Suspend execution of this shell
sched - Schedule a command to run at a later time.
crontab - Schedule a command to run at a later date/time
disown - Unbind a job from the current login session
© Copyright SS64.com 1999-2013
Some rights reserved