Path: utzoo!utgpu!water!watmath!clyde!att!ulysses!hector!ekrell From: ekrell@hector.UUCP (Eduardo Krell) Newsgroups: comp.unix.wizards Subject: Re: .logout for ksh? Keywords: .logout, KSH, help!!! Message-ID: <10680@ulysses.homer.nj.att.com> Date: 2 Oct 88 14:16:36 GMT References: <1594@mcgp1.UUCP> Sender: netnews@ulysses.homer.nj.att.com Reply-To: ekrell@hector.UUCP (Eduardo Krell) Organization: AT&T Bell Laboratories Lines: 10 In article <1594@mcgp1.UUCP> fst@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@ulysses.att.com