Name

nohup

Synopsis

nohup command [arguments]
nohup option

Run the named command with its optional command arguments, continuing to run it even after you log out (make command immune to hangups—i.e., no hangup). Terminal output is appended to the file nohup.out by default, or $HOME/nohup.out if nohup.out can’t be written to. Modern shells preserve background commands by default; this command is necessary only in the original Bourne shell.

Options

--help

Print usage information and exit.

--version

Print version information and exit.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.