Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!uw-june!uw-entropy!dataio!pilchuck!ssc!mcgp1!fst From: fst@mcgp1.UUCP (Skip Tavakkolian) Newsgroups: comp.unix.wizards Subject: Re: .logout for ksh? Summary: I have read TFM!! Keywords: .logout, KSH, help!!! Message-ID: <1604@mcgp1.UUCP> Date: 5 Oct 88 06:28:20 GMT References: <1594@mcgp1.UUCP> <10680@ulysses.homer.nj.att.com> Organization: Computer Tools Int'l Inc. Lines: 19 In article <10680@ulysses.homer.nj.att.com>, ekrell@hector.UUCP (Eduardo Krell) writes: > In article <1594@mcgp1.UUCP> fst@mcgp1.UUCP (Skip Tavakkolian) writes: > >Is there a way to execute something on exit, in Korn shell? > 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 I am not a moron (although I may look it). I was looking for a builtin solution; (one that may have not been documented). Perhaps I should have said ``and is not "trap `. $HOME/.logout` 0" ''. Thanks to all those who responded. Sincerely -- Fariborz ``Skip'' Tavakkolian UUCP ...!uw-beaver!tikal!mcgp1!fst UNIX is a registered trademark of AT&T