1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 04:35:28 +02:00
tldr/pages/common/nohup.md
K.B.Dharun Krishna 898f711019
pages/*: update GNU coreutils links, sync translation pages (#15543)
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-01-18 18:45:33 +05:30

20 lines
587 B
Markdown

# nohup
> Allows for a process to live when the terminal gets killed.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/nohup-invocation.html>.
- Run a process that can live beyond the terminal:
`nohup {{command}} {{argument1 argument2 ...}}`
- Launch `nohup` in background mode:
`nohup {{command}} {{argument1 argument2 ...}} &`
- Run a shell script that can live beyond the terminal:
`nohup {{path/to/script.sh}} &`
- Run a process and write the output to a specific file:
`nohup {{command}} {{argument1 argument2 ...}} > {{path/to/output_file}} &`