Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nohup(1) — sys5 — Apollo Domain/OS SR10.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(1)

nice(1)

sh(1)

signal(2)

NOHUP(1)                             SysV                             NOHUP(1)



NAME
     nohup - run a command immune to hangups and quits

SYNOPSIS
     nohup command [arguments]

DESCRIPTION
     The nohup command executes command with hangups and quits ignored.  If
     output is not redirected by the user, both standard output and standard
     error are sent to a nohup.out file.  If nohup.out is not writable in the
     current directory, output is redirected to $HOME/nohup.out instead.

EXAMPLE
     It is frequently desirable to apply nohup to pipelines or lists of
     commands.  This can be done only by placing pipelines and command lists
     in a single file, called a shell procedure.  One can then issue this
     command:

          nohup sh file

     and the nohup 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.  Add an ampersand and the contents of
     file are run in the background with interrupts also ignored (see
     sh(1)),asinthefollowing

          nohup file &

     Here is an example of what the contents of file could be:

          sort ofile > nfile

WARNINGS
     In the case of the following command, nohup applies only to command1:

          nohup command1; command2

     The command

          nohup (command1; command2)

     is syntactically incorrect.

SEE ALSO
     chmod(1), nice(1), sh(1), signal(2).

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