& vs nohup
Net Llama!
netllama
Mon May 17 12:01:17 PDT 2004
On 04/11/04 08:01, M.W. Chang wrote:
>
> What's the difference between "command &" and "nohup command"?
>
> I tried to run `btdownloadheadless --responsefile abc.torrent --saveas
> abc &`. The process stopped instantly. However, doing the same with
> `nohup btdownloadheadless --responsefile abc.torrent --saveas abc` can
> keep it going, with output directed to nohup.txt.
nohup - run a command immune to hangups, with output to a non-tty
& just backgrounds the process
BTW, i'd recommend running btdownloadcurses inside screen. alot less
messy, and easier to manage.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
08:10:02 up 126 days, 11:45, 1 user, load average: 0.08, 0.08, 0.08
More information about the Linux-users
mailing list