2016-01-05 01:17:45 +03:00
|
|
|
# jobs
|
|
|
|
|
|
|
|
> BASH builtin for viewing information about processes spawned by the current shell.
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- View jobs spawned by the current shell:
|
2016-01-05 01:17:45 +03:00
|
|
|
|
|
|
|
`jobs`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- List jobs and their process ids:
|
2016-01-05 01:17:45 +03:00
|
|
|
|
|
|
|
`jobs -l`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Display information about jobs with changed status:
|
2016-01-05 01:17:45 +03:00
|
|
|
|
|
|
|
`jobs -n`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Display process id of process group leader:
|
2016-01-05 01:17:45 +03:00
|
|
|
|
|
|
|
`jobs -p`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Display running processes:
|
2016-01-05 01:17:45 +03:00
|
|
|
|
|
|
|
`jobs -r`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Display stopped processes:
|
2016-01-05 01:17:45 +03:00
|
|
|
|
|
|
|
`jobs -s`
|