From owner-freebsd-questions Tue Feb 25 3:20:32 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27E9737B401 for ; Tue, 25 Feb 2003 03:20:31 -0800 (PST) Received: from nagual.st (cc20684-a.assen1.dr.home.nl [217.120.160.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8879143FA3 for ; Tue, 25 Feb 2003 03:20:29 -0800 (PST) (envelope-from dick@nagual.st) Received: from lothlorien.nagual.st (dick@localhost [127.0.0.1]) by nagual.st (8.12.3/8.12.3/arwen) with ESMTP id h1PBJj9Y015142 for ; Tue, 25 Feb 2003 12:19:45 +0100 Received: (from dick@localhost) by lothlorien.nagual.st (8.12.3/8.12.3/local) id h1PBJjUM015140 for freebsd-questions@freebsd.org; Tue, 25 Feb 2003 12:19:45 +0100 From: dick hoogendijk Date: Tue, 25 Feb 2003 12:19:45 +0100 To: freebsd-questions Subject: /bin/sh logout script Message-ID: <20030225111945.GA14877@lothlorien.nagual.st> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG For bash I can use .bash_profile and .bash_logout to get things done at login/logout time. On my fbsd machine I use /bin/sh and I can't find how to execute things at logout time (login is set in .profile). I.e. I want to remove the ssh-agent pig at logout time and clear the screen) Does /bin/sh has a logout file ??? and if so, what's it called? -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message