mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 21:51:26 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,16 +15,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Sleep for at most `n` seconds:
|
||||
|
||||
`waitpid --timeout {{n}} {{pid1 pid2 ...}}`
|
||||
`waitpid {{[-t|--timeout]}} {{n}} {{pid1 pid2 ...}}`
|
||||
|
||||
- Do not error if specified PIDs have already exited:
|
||||
|
||||
`waitpid --exited {{pid1 pid2 ...}}`
|
||||
`waitpid {{[-e|--exited]}} {{pid1 pid2 ...}}`
|
||||
|
||||
- Sleep until `n` of the specified processes have exited:
|
||||
|
||||
`waitpid --count {{n}} {{pid1 pid2 ...}}`
|
||||
`waitpid {{[-c|--count]}} {{n}} {{pid1 pid2 ...}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`waitpid -h`
|
||||
`waitpid {{[-h|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user