1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/disown.md

22 lines
449 B
Markdown
Raw Normal View History

2018-07-17 20:29:16 +01:00
# disown
> Allow sub-processes to live beyond the shell that they are attached to.
> See also the `jobs` command.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-disown>.
2018-07-17 20:29:16 +01:00
- Disown the current job:
`disown`
- Disown a specific job:
`disown %{{job_number}}`
- Disown all jobs:
`disown -a`
2019-05-14 19:17:37 +02:00
- Keep job (do not disown it), but mark it so that no future SIGHUP is received on shell exit:
`disown -h %{{job_number}}`