KSH .logout script ?

linwood.d.johnson linwood at cbnewsk.att.com
Sun Mar 24 14:07:39 AEST 1991


In article <1991Mar18.095244.9728 at uts.uni-c.dk>, uniel at uts.uni-c.dk (Erik Lawaetz) writes:
> Is there a KSH logout script like csh's .logout ?

If you want a series of commands executed at logout, place
the following line in your .profile

trap "$HOME/.logout" 0 1

Of course, this assumes that the file named .logout exists and thatit
resides in your home directory.



-- 
| Linwood D. Johnson       |  linwood at ihlpf.att.com                 |
| AT&T Bell Labs, 1000 E. Warrenville Rd., Naperville, IL 60566     |
| Disclaimer: Opinions expressed here are mine and mine only.       |
|             Besides, who else would want them?                    |



More information about the Comp.unix.shell mailing list