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.out instead, or $HOME/nohup.out, if nohup.out open 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