nohup
Programm: nohup
Startet einen Befehl, der weiterläuft, wenn das Terminal zugeht.
Aufruf
nohup COMMAND [ARG]...
Beschreibung
Start COMMAND so that it keeps running when the terminal hangs up (SIGHUP is ignored). Output that would go to the terminal goes to nohup.out instead, input from the terminal is cut off.
Optionen im Simulator
1 weitere Optionen des echten Programms, im Simulator noch nicht
Beispiele
nohup sleep 300 &
[1] 4243
nohup: ignoring input and appending output to 'nohup.out'
jobs
[1]+ Running nohup sleep 300 &
ls -l nohup.out
-rw------- 1 lerner lerner 0 Oct 17 09:42 nohup.out Wo du ihn lernst
Lektionen
- Vordergrund, Hintergrund, weiterlaufen Linux-Grundlagen, Modul 6: Prozesse