Home OS X
OS X Syntax

nohup

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]...]	       

Run command such that it will ignore hangup signals.

Note that commands may set their own response to hangups, overriding nohup.

Without an argument (allowed in only a shell script), causes the shell to ignore hangups for the remainder of the script. `nohup' does not automatically put the command it runs in the background; you must do that explicitly, by ending the command line with an `&'.

nohup is a tcsh shell command.

"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:

chroot - Run a command with a different root directory
exec - Execute a command
if - Conditionally perform a command
nice - Change job scheduling priority
su - Run a command with substitute user and group id

Equivalent BASH command:

nohup
- Substitute user identity.



Back to the Top

Simon Sheppard
SS64.com