Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!ken From: ken@rochester.ARPA (SKY) Newsgroups: comp.unix.questions Subject: Re: Is there a Bourne-shell .logout script? Message-ID: <22854@rochester.ARPA> Date: Wed, 3-Dec-86 17:23:38 EST Article-I.D.: rocheste.22854 Posted: Wed Dec 3 17:23:38 1986 Date-Received: Wed, 3-Dec-86 22:26:48 EST References: <502@cdx39.UUCP> Reply-To: ken@rochester.UUCP (SKY) Organization: U of Rochester, CS Dept, Rochester, NY 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? Sure, just say trap 'command' 0 in your .profile. Ken