.logout for ksh?
Wolf N. Paul
wnp at dcs.UUCP
Mon Oct 3 22:47:56 AEST 1988
In article <1594 at mcgp1.UUCP> fst at mcgp1.UUCP (Skip Tavakkolian) writes:
>Is there a way to execute something on exit, in Korn shell?
>This would be like the ``csh'' ``.logout'' file.
I use a statement in /etc/profile to accomplish this:
trap ". $HOME/.logout.ksh" 1
for this purpose, and it works just fine.
Wolf
--
Wolf N. Paul * 3387 Sam Rayburn Run * Carrollton TX 75007 * (214) 306-9101
UUCP: killer!dcs!wnp ESL: 62832882
DOMAIN: dcs!wnp at killer.dallas.tx.us TLX: 910-380-0585 EES PLANO UD
More information about the Comp.unix.wizards
mailing list