# Nohup
`nohup` (no hang up) is a POSIX command that executes a command immune to the HUP (hangup) signal, so it keeps running after the user logs out. Output that would normally go to the terminal goes to `nohup.out`.
## Usage
```bash
nohup long-running-command & # Run in background, survives logout
nohup nice long-running-command & # Lower priority + survives logout
```
## Monitoring Output
```bash
tail -f nohup.out # Follow output in real time
```
See also: [[Bash and Zsh#Job Control]] for `disown` and background job management.