mirror of https://github.com/CrimsonTome/tldr.git
28 lines
391 B
Markdown
28 lines
391 B
Markdown
|
# jobs
|
||
|
|
||
|
> BASH builtin for viewing information about processes spawned by the current shell.
|
||
|
|
||
|
- view jobs spawned by the current shell
|
||
|
|
||
|
`jobs`
|
||
|
|
||
|
- list jobs and their process ids
|
||
|
|
||
|
`jobs -l`
|
||
|
|
||
|
- display information about jobs with changed status
|
||
|
|
||
|
`jobs -n`
|
||
|
|
||
|
- display process id of process group leader
|
||
|
|
||
|
`jobs -p`
|
||
|
|
||
|
- display running processes
|
||
|
|
||
|
`jobs -r`
|
||
|
|
||
|
- display stopped processes
|
||
|
|
||
|
`jobs -s`
|