Is there a Bourne-shell .logout script?

SKY ken at rochester.ARPA
Thu Dec 4 08:23:38 AEST 1986


In article <502 at cdx39.UUCP> jc at cdx39.UUCP (John Chambers) writes:
|The C-shell runs a script called $home/.logout when you tell
|it to log you out.  Is there any way to get the Bourne shell
|to do something similar?

Sure, just say trap 'command' 0 in your .profile.

	Ken



More information about the Comp.unix.questions mailing list