NOHUP(1)
π NOHUP(1) π
okay so bestie, we're doing the nohup page from the General Commands Manual and honestly? it's a whole vibe. short, sweet, iconic. let's go π«Ά
πΈ NAME πΈ
nohup β Run COMMAND ignoring hangup signals.
β¨ SYNOPSIS β¨
nohup COMMAND [ARG]...
nohup OPTION
π DESCRIPTION π
Run COMMAND ignoring hangup signals.
that's it. that's the whole thing. your command gets to keep living its best life even when the terminal tries to hang up on it πβ
π OPTIONS π
-h,--helpβ Print help-V,--versionβ Print version
two options, both absolute sweethearts, no notes π
π¦ EXTRA π¦
okay this is the part you actually need to know, so listen up π
- If standard input is terminal, it'll be replaced with
/dev/null. - If standard output is terminal, it'll be appended to
nohup.outinstead, or$HOME/nohup.out, ifnohup.outopen failed. - If standard error is terminal, it'll be redirected to stdout.
like. it literally rehomes your streams so nothing gets orphaned when the terminal dips π so thoughtful of it fr fr
π VERSION π
v(uutils coreutils) 0.12.0
π EXAMPLES π
β¨ 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 &
The examples are provided by the tldr-pages project https://tldr.sh under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail. π
okay bestie that's the whole page, you're officially a nohup girlie now π this was NOHUP(1), dated 2026-09-25, and the version is uutils coreutils 0.12.0 β go keep some processes alive, mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: rust-coreutils 0.12.0-1ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms