Man nohup

13.04.2008, 14:49 Linux / Unix nohup command

Quick links

About nohup
Syntax
Examples
Related commands
Unix main page

About nohup

Runs a command even if the session is disconnected or the user logs out.

Syntax

Citationnohup command [argument...]
nohup -p [-Fa] pid [pid...]
nohup -g [-Fa] gpid [gpid...]
nohup command [argument...]
-a Always changes the signal disposition of target processes. This option is valid only when specified with -p or -g.
-F Force. Grabs the target processes even if another process has control. This option is valid only when specified with -p or -g.
-g Operates on a list of process groups. This option is not valid with -p.
-p Operates on a list of processes. This option is not valid with -g.
pid A decimal process ID to be manipulated by nohup -p.
gpid A decimal process group ID to be manipulated by nohup
--help Displays help screen.
--version Output version information and exit.


Examples

Citationnohup find -name '*' -size +1000k > log.txt


In the above example the above find command would be ran using nohup and continue to perform a find for any file bigger then 1000k regardless of connectivity logging everything found to the log.txt file.
mumuri forum.ashots.org
mumuri
mumuri
Messages : 12 642

  • Discussions similaires
  • Pas de message
  • astuces de jeux vidéos
  • dessin animé
  • allo ciné
  • forum
  • avis films
  • bourse
  • anime
  • séries télé
  • avis livres
  • smileys
Tous droits réservés © 2008 . Top flood Crédits des logiciels tiers.   - en partenariat avec flood.fr .