.logout for ksh?

rchen at m.cs.uiuc.edu rchen at m.cs.uiuc.edu
Tue Oct 4 05:42:00 AEST 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 at cs.uiuc.edu



More information about the Comp.unix.wizards mailing list