Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nohup(1) — sys5 — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought



NOHUP(1)        DOMAIN/IX Reference Manual (SYS5)        NOHUP(1)



NAME
     nohup - run a command immune to hangups and quits

USAGE
     nohup command [ arguments ]

DESCRIPTION
     Nohup executes a specified command with hangups and quits
     ignored.  If you do not redirect output, both standard out-
     put and standard error are sent to nohup.out.  If nohup.out
     is not writable in the current directory, output is
     redirected to $HOME/nohup.out.

EXAMPLES
     It is frequently desirable to apply nohup to pipelines or
     lists of commands.  This can be done only by placing pipe-
     lines and command lists in a Shell procedure, and then issu-
     ing the following:

          nohup sh file

     The nohup then applies to everything in file.  If the Shell
     procedure file is to be executed often, then the need to
     type sh can be eliminated by giving file execute permission.
     See sh (1) for general information about the Shell.

     Add an ampersand (&) and the contents of file are run in the
     background with interrupts also ignored, as shown here:

          nohup file &

     The contents of file could be the following:

          tbl ofile | eqn | nroff > nfile

CAUTIONS
     If you specify nohup command1; command2, nohup applies only
     to command1; nohup (command1; command2) is syntactically
     incorrect.

     Be careful of where standard error is redirected.  The fol-
     lowing command may put error messages on tape, making it
     unreadable:

          nohup cpio -o <list >/dev/rmt/1m&


     On the other hand, this command puts the error messages into
     the file errors:

          nohup cpio -o <list >/dev/rmt/1m 2>errors&




Printed 6/10/85                                           NOHUP-1





NOHUP(1)        DOMAIN/IX Reference Manual (SYS5)        NOHUP(1)



RELATED INFORMATION
     chmod (1), nice (1), sh (1), signal (2).





















































NOHUP-2                                           Printed 6/10/85



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026