Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!cica!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.questions Subject: Re: csh - how to automatically kill background processes on logout Message-ID: <13304@bloom-beacon.MIT.EDU> Date: 6 Aug 89 18:53:04 GMT References: <72@harald.UUCP> <18913@mimsy.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) Organization: Massachusetts Institute of Technology Lines: 14 Or, if you don't mind killing all of the processes owned by you instead of just the ones you started from your login shell, you can just do "kill -HUP -1" in newer BSD systems. Everything will get the HUP signal. This is also useful if you're on an X workstation and your login xterm dies somehow but doesn't log you out. "kill -9 -1" does a pretty good job of terminating the login session quickly :-). Jonathan Kamens USnail: MIT Project Athena 432 S. Rose Blvd. jik@Athena.MIT.EDU Akron, OH 44320 Office: 617-253-4261 Home: 216-869-6432