1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 07:55:24 +02:00
tldr/pages/common/wait.md
Pranaov S 8bc9dce9b1
pages/common/*: correct urls, see also improvements, unbashify pages, examples addition (#16841)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-14 19:02:15 +03:00

21 lines
466 B
Markdown

# wait
> Wait for a process to complete before proceeding.
> See also: `ps` to view information about running processes.
> 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 (run `jobs` to find the job number):
`wait %{{job_number}}`
- Display help:
`wait --help`