.logout for ksh?

Eduardo Krell ekrell at hector.UUCP
Mon Oct 3 00:16:36 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.

If you RTFM (or buy the book, that just came out) you'll see that
"trap command 0" will do it.
    
Eduardo Krell                   AT&T Bell Laboratories, Murray Hill, NJ

UUCP: {att,decvax,ucbvax}!ulysses!ekrell  Internet: ekrell at ulysses.att.com



More information about the Comp.unix.wizards mailing list