Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!killer!dcs!wnp From: wnp@dcs.UUCP (Wolf N. Paul) Newsgroups: comp.unix.wizards Subject: Re: .logout for ksh? Keywords: .logout, KSH, help!!! Message-ID: <209@dcs.UUCP> Date: 3 Oct 88 12:47:56 GMT References: <1594@mcgp1.UUCP> Reply-To: wnp@dcs.UUCP (Wolf N. Paul) Organization: DCS, Dallas, Texas Lines: 15 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. 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@killer.dallas.tx.us TLX: 910-380-0585 EES PLANO UD