Is there a Bourne-shell .logout script?

Rob Bernardo rob at ptsfb.UUCP
Thu Dec 4 06:53:10 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?

How about putting:
	trap "$HOME/.logout" 0
in your .profile (or in /etc/profile)?



More information about the Comp.unix.questions mailing list