"Brady, Padraig" wrote:
>> > -----Original Message-----
> > From: Paul Trainor [mailto:paul.trainor at bayridge.ie]
> > Sent: 07 November 2000 16:23
> > To: 'Dermot Connolly'; ilug at linux.ie> >
> > nohup does it
>> To do this from the same terminal
> that you started the command on:
> 1. Ctrl-Z #to suspend the process
> 2. bg #make command run in background
> For the c shell this is all you need to do since it
> doesn't kill background processes when you log out.
> Also for commands you haven't started yet, screen is
> better than nohup as it gives you much more control. For e.g.
> you could run commands under screen, detach and logout and then
> login and reattach at home.
Anyone know how to nohup an app after running it? I wasn't aware that
csh did that by default for bg processes, but I use ksh or bash most of
the time anyway - is there any way I can nohup a process by pid, in the
same way as I can nice it? Is there a way to do this through top? Or is
it possible to (maybe) change the PPID of a process while it's running.
to init, say?
Cheers,
Dave.
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!