mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 10:01:30 +00:00
Update cheatsheets
This commit is contained in:
34
linux/jobs
Normal file
34
linux/jobs
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# jobs
|
||||
|
||||
> Shell builtin for viewing information about processes spawned by the current shell.
|
||||
> Options other than `-l` and `-p` are exclusive to `bash`.
|
||||
> More information: <https://manned.org/jobs>.
|
||||
|
||||
- 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 only process IDs:
|
||||
|
||||
`jobs -p`
|
||||
|
||||
- Display running processes:
|
||||
|
||||
`jobs -r`
|
||||
|
||||
- Display stopped processes:
|
||||
|
||||
`jobs -s`
|
||||
Reference in New Issue
Block a user