<a name=


Run a command immune to hangups, runs the given COMMAND with hangup signals ignored, so that the command can continue running in the background after you log out.

      nohup Command [Arg]...

`nohup' increases the scheduling priority of COMMAND by 5, this gives a slightly lower priority.

If standard output is a terminal, it and standard error are redirected so that they are appended to the file `nohup.out'; if that cannot be written to, they are appended to the file `$HOME/nohup.out'. If that cannot be written to, the command is not run.

If `nohup' creates either `nohup.out' or `$HOME/nohup.out', it creates it with no "group" or "other" access permissions. It does not change the permissions if the output file already existed.

`nohup' does not automatically put the command it runs in the background; you must do that explicitly, by ending the command line with an `&'.

"Love is a perky elf dancing a merry little jig and then suddenly he turns on you with a miniature machine gun" - Matt Groening

Related commands:

builtin - Run a shell builtin
chroot - Run a command with a different root directory
exec - Execute a command
if - Conditionally perform a command
nice - Change job scheduling priority
.source - Run commands from a file
su - Run a command with substitute user and group id