From owner-freebsd-questions Fri Aug 9 5:36:51 2002 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 26D7837B400 for ; Fri, 9 Aug 2002 05:36:50 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 98BFB43E65 for ; Fri, 9 Aug 2002 05:36:48 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 18750 invoked from network); 9 Aug 2002 12:36:42 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 9 Aug 2002 12:36:42 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id AED5A3F; Fri, 9 Aug 2002 14:36:41 +0200 (CEST) Date: Fri, 9 Aug 2002 14:36:41 +0200 From: Roman Neuhauser To: D J Hawkey Jr Cc: questions at FreeBSD Subject: Re: sh(1) equivalent to bash(1)'s $HOME/.bash_logout? Message-ID: <20020809123641.GC389@freepuppy.bellavista.cz> Mail-Followup-To: D J Hawkey Jr , questions at FreeBSD References: <20020809071825.A48980@sheol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020809071825.A48980@sheol.localdomain> User-Agent: Mutt/1.5.1i 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 > Date: Fri, 9 Aug 2002 07:18:25 -0500 > From: D J Hawkey Jr > To: questions at FreeBSD > Subject: sh(1) equivalent to bash(1)'s $HOME/.bash_logout? > > Hello all, > > In $HOME/.bash_profile, I start fetchmail in daemon mode if certain > requirements are met, and in $HOME/.bash_logout, I stop fetchmail > (again, if certain requirements are met). > > I would like to move this functionality to $HOME/.profile and, um, > "what", I don't know, so it also works under sh(1). It's that "what" > that eludes me; is there a sh(1) equivalent to bash(1)'s > $HOME/.bash_logout? > > It looks as though csh(1) parallels bash(1)'s functionality, but > with different dot files. so what do you want? sh's or csh's equivalent of .bash_logout? as for csh, see csh(1). i don't know if sh has a "logout" file. -- FreeBSD 4.6-STABLE 2:33PM up 2:28, 7 users, load averages: 1.17, 1.06, 0.94 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message