tldr/pages/linux/jobs.md

29 lines
444 B
Markdown
Raw Normal View History

2016-01-04 22:17:45 +00:00
# jobs
> BASH builtin for viewing information about processes spawned by the current shell.
> More information: <https://manned.org/jobs>.
2016-01-04 22:17:45 +00:00
- View jobs spawned by the current shell:
2016-01-04 22:17:45 +00:00
`jobs`
- List jobs and their process IDs:
2016-01-04 22:17:45 +00:00
`jobs -l`
- Display information about jobs with changed status:
2016-01-04 22:17:45 +00:00
`jobs -n`
- Display process ID of process group leader:
2016-01-04 22:17:45 +00:00
`jobs -p`
- Display running processes:
2016-01-04 22:17:45 +00:00
`jobs -r`
- Display stopped processes:
2016-01-04 22:17:45 +00:00
`jobs -s`