On Fri, Nov 19, 1999 at 07:00:50PM -0000, Alan Sobey wrote:
> On a related note, how to you telnet to a remote machine, start a process
> (e.g. ftp) and exit the telnet session, but still keeping the process alive.
> Alternatively, can you change the Parent ID of a process so it doesn't get
> killed when it's original parent does?
On all RH4.x and later boxes I've used, you can just use
Ctrl-Z followed by the bg command (or the & at the end of
the command) and then logout. I imagine this is a bash
thing rather than a Linux thing.
However, I don't know if it will work if the command is
going to generate output. I normally do something like:
$ command >& /dev/null &
$ command >& logfile &
The '>&' means redirect both stdout and stderr. See man bash
for more details.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!