Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!ncar!tank!uxc!uxc.cso.uiuc.edu!a.cs.uiuc.edu!m.cs.uiuc.edu!rchen From: rchen@m.cs.uiuc.edu Newsgroups: comp.unix.wizards Subject: Re: .logout for ksh? Message-ID: <9100011@m.cs.uiuc.edu> Date: 3 Oct 88 19:42:00 GMT References: <1594@mcgp1.UUCP> Lines: 12 Nf-ID: #R:mcgp1.UUCP:1594:m.cs.uiuc.edu:9100011:000:388 Nf-From: m.cs.uiuc.edu!rchen Oct 3 14:42:00 1988 >Is there a way to execute something on exit, in Korn shell? >This would be like the ``csh'' ``.logout'' file. What I did was to disable "Ctrl-D" (I don't like it anyway) in the login shell and at the same time alias "exit" or "logout" to whatever I want. -Ron Chen Department of Computer Science University of Illinois at Urbana-Champaign rchen@cs.uiuc.edu