.logout for ksh?
Brandon S. Allbery
allbery at ncoast.UUCP
Sun Oct 9 12:37:30 AEST 1988
As quoted from <1594 at mcgp1.UUCP> by fst at mcgp1.UUCP (Skip Tavakkolian):
+---------------
| Is there a way to execute something on exit, in Korn shell?
| This would be like the ``csh'' ``.logout'' file.
+---------------
Try the command:
trap ". ~/.logout" EXIT
Add extra traps to emulate csh ignoring of signals, etc.
--
Brandon S Allbery uunet!hal.cwru.edu!ncoast!allbery allbery%ncoast at hal.cwru.edu
(LAST RESORT ONLY: allbery at uunet.uu.net) DELPHI: ALLBERY
comp.sources.misc is moving off ncoast -- please do NOT send submissions direct
"So many articles, so little time...." -- The Line-Eater
More information about the Comp.unix.wizards
mailing list