Checking for new mail (and killing bkgnd process on logout?)
Amos Shapir
amos at taux01.UUCP
Thu Aug 31 00:44:59 AEST 1989
In article <128 at isgtec.UUCP> bmw at isgtec.UUCP (Bruce Walker) writes:
>You end up with dozens of the little buggers.
>
>My (slightly klugey) solution is to add a line to my .logout (csh):
>
> /bin/kill -9 `ps x | awk '$5=="checkmail" {print $1}'`&
>
>Anyone know a better way?
alias logout 'kill -1 0'
This works in most versions of csh.
--
Amos Shapir amos at taux01.nsc.com or amos at nsc.nsc.com
National Semiconductor (Israel) P.O.B. 3007, Herzlia 46104, Israel
Tel. +972 52 522261 TWX: 33691, fax: +972-52-558322
34 48 E / 32 10 N (My other cpu is a NS32532)
More information about the Comp.unix.wizards
mailing list