Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!lll-lcc!ptsfa!ptsfb!rob From: rob@ptsfb.UUCP (Rob Bernardo) Newsgroups: comp.unix.questions Subject: Re: Is there a Bourne-shell .logout script? Message-ID: <1051@ptsfb.UUCP> Date: Wed, 3-Dec-86 15:53:10 EST Article-I.D.: ptsfb.1051 Posted: Wed Dec 3 15:53:10 1986 Date-Received: Wed, 3-Dec-86 22:18:34 EST References: <502@cdx39.UUCP> Reply-To: rob@ptsfb.UUCP (Rob Bernardo) Organization: Pacific * Bell, San Ramon, CA Lines: 8 Keywords: logout exit Bourne shell In article <502@cdx39.UUCP> jc@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)?