-   Linux - General (
-   -   nohup (

sycamorex 01-07-2008 10:47 AM

nohup lets you run a command after the user logs off.
In which situations would you use it? What are the most typical uses of it?


bigrigdriver 01-07-2008 11:13 AM

xptools 01-08-2008 01:24 PM

If you can't think of situations you would use it, then most probably you won't need it -- nohup is not for your local linux, but for remote servers, except this practical nohup usage.

b0uncer 01-08-2008 01:53 PM

Mainly when I start a graphical user interface program from a terminal (say I need to pass some parameters to it, for example), but don't like to have the terminal wait there open all the time - or even worse, semi-accidentally close the terminal and also terminate the program started off it. In that case nohup allows closing the terminal and still having the program run.

Another somewhat similar thing I use, but mainly just with remote connections (and usually with irssi), is screen. It allows detaching the process, like irssi in my case, log out and later log back in and re-attach the very same process, thus not disconnecting anything "important".

sycamorex 01-08-2008 05:49 PM

thanks guys, yes at the moment I won't probably need it:)

All times are GMT -5. The time now is 04:34 AM.