NOHUP

No Hang Up. 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.

SYNTAX
nohup Command [Arg]…&qt;nohup&qt;&qt; 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 &qt;nohup.out&qt;&qt;; if that cannot be written to, they are appended to the file &qt;$HOME/nohup.out&qt;&qt;. If that cannot be written to, the command is not run.

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

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

Tags: