[Linux-disciples] Killing processes when exiting a shell

Stephen R Laniel steve at laniels.org
Tue May 23 13:05:16 EDT 2006


Try the following sequence of actions:

1) Start a process -- say, mutt -- from the terminal.
2) Suspend it with Ctrl+Z.
3) You're now back at the terminal window. Type 'exit'.
4) The shell warns you that there are jobs still running.
   Type 'exit' again. The shell quits, and with it the mutt
   process.

Is there any way to get the shell not to quit, even if you
type exit twice? I've accidentally killed a number of
processes that way.

-- 
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060523/063fa9e4/attachment.pgp


More information about the Linux-disciples mailing list