Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 07:40:40 -0500
From:      D J Hawkey Jr <hawkeyd@visi.com>
To:        questions at FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: sh(1) equivalent to bash(1)'s $HOME/.bash_logout?
Message-ID:  <20020809074040.A49031@sheol.localdomain>
In-Reply-To: <20020809123641.GC389@freepuppy.bellavista.cz>; from neuhauser@bellavista.cz on Fri, Aug 09, 2002 at 02:36:41PM %2B0200
References:  <20020809071825.A48980@sheol.localdomain> <20020809123641.GC389@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 09, at 02:36 PM, Roman Neuhauser wrote:
> 
> > Date: Fri, 9 Aug 2002 07:18:25 -0500
> > From: D J Hawkey Jr <hawkeyd@visi.com>
> > To: questions at FreeBSD <freebsd-questions@freebsd.org>
> > 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.

sh(1)'s. As I wrote, csh(1) has bash(1)'s functionality.

Dave

-- 
  ______________________                         ______________________
  \__________________   \    D. J. HAWKEY JR.   /   __________________/
     \________________/\     hawkeyd@visi.com    /\________________/
                      http://www.visi.com/~hawkeyd/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020809074040.A49031>