1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-26 05:03:59 +02:00
tldr/pages/common/wait.md
2025-03-26 00:36:41 +02:00

20 lines
359 B
Markdown

# wait
> Wait for a process to complete before proceeding.
> More information: <https://manned.org/wait>.
- Wait for a process to finish given its process ID (PID) and return its exit status:
`wait {{pid}}`
- Wait for all processes known to the invoking shell to finish:
`wait`
- Wait for a job to finish:
`wait %{{N}}`
- Display help:
`wait --help`