*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> nohup (1)              
Title
Content
Arch
Section
 

Contents


NOHUP(1)							      NOHUP(1)


NAME    [Toc]    [Back]

     nohup - run a command immune to hangups and quits

SYNOPSIS    [Toc]    [Back]

     nohup command [ arguments ]

DESCRIPTION    [Toc]    [Back]

     nohup executes command with hangups and quits ignored.  If	output is not
     re-directed by the	user, both standard output 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.  If standard output is
     redirected	by the user, then nohup	will redirect standard error to	the
     same destination as standard output.

EXAMPLE    [Toc]    [Back]

     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:

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

	  nohup	file &

     An	example	of what	the contents of	file could be is:

	  sort ofile > nfile

FILES    [Toc]    [Back]

     /usr/lib/locale/locale<b>/LC_MESSAGES/uxue
	  language-specific message file [See LANG on environ(5).]

SEE ALSO    [Toc]    [Back]

      
      
     chmod(1), nice(1),	sh(1), signal(2)

WARNINGS    [Toc]    [Back]

     In	the case of the	following command

	  nohup	command1; command2

     nohup applies only	to command1.  The command

	  nohup	(command1; command2)

     is	syntactically incorrect.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
nohup HP-UX run a command immune to hangups
nohup Linux run a command immune to hangups, with output to a non-tty
nohup OpenBSD invoke a command immune to hangups
nohup Tru64 Runs a utility ignoring hangups and quits
nohup FreeBSD invoke a utility immune to hangups
XmCommandAppendValue HP-UX A Command function that appends the passed XmString to the end of the string displayed in the command area of
XmCommandAppendValue IRIX A Command function that appends the passed XmString to the end of the string displayed in the command area of
sh Tru64 The Bourne shell, an interactive command interpreter and command programming language
Rsh Tru64 The Bourne shell, an interactive command interpreter and command programming language
ipxfargc IRIX Returns the number of command-line arguments excluding the command name
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service