2016-01-04 22:17:45 +00:00
|
|
|
# jobs
|
|
|
|
|
|
|
|
> BASH builtin for viewing information about processes spawned by the current shell.
|
2021-09-02 19:33:49 +01:00
|
|
|
> More information: <https://manned.org/jobs>.
|
2016-01-04 22:17:45 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- View jobs spawned by the current shell:
|
2016-01-04 22:17:45 +00:00
|
|
|
|
|
|
|
`jobs`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- List jobs and their process IDs:
|
2016-01-04 22:17:45 +00:00
|
|
|
|
|
|
|
`jobs -l`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Display information about jobs with changed status:
|
2016-01-04 22:17:45 +00:00
|
|
|
|
|
|
|
`jobs -n`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Display process ID of process group leader:
|
2016-01-04 22:17:45 +00:00
|
|
|
|
|
|
|
`jobs -p`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Display running processes:
|
2016-01-04 22:17:45 +00:00
|
|
|
|
|
|
|
`jobs -r`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Display stopped processes:
|
2016-01-04 22:17:45 +00:00
|
|
|
|
|
|
|
`jobs -s`
|