csh - how to automatically kill background processes on logout
Jonathan I. Kamens
jik at athena.mit.edu
Mon Aug 7 04:53:04 AEST 1989
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 at Athena.MIT.EDU Akron, OH 44320
Office: 617-253-4261 Home: 216-869-6432
More information about the Comp.unix.questions
mailing list