Date: Fri, 9 Aug 2002 10:10:59 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: John Bleichert <syborg@stny.rr.com> Cc: questions at FreeBSD <freebsd-questions@FreeBSD.ORG> Subject: Re: sh(1) equivalent to bash(1)'s $HOME/.bash_logout? Message-ID: <20020809151059.GA72261@dan.emsphone.com> In-Reply-To: <Pine.LNX.4.44.0208091101480.10214-100000@janeway.vonbek.dhs.org> References: <20020809144240.GA3773@dan.emsphone.com> <Pine.LNX.4.44.0208091101480.10214-100000@janeway.vonbek.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 09), John Bleichert said: > I think /bin/sh uses .login and .profile on the way 'in' and .logout on > the way out. I put "clear" in .logout of my root account and it works > fine. /bin/sh runs the following files on startup: /etc/profile, ~/.profile (or /etc/suid_profile if root/setuid), and whatever filename $ENV is set to, if any. It does not run ~/.login (which would be in csh format anyway), and it does not run anything on logout. -- Dan Nelson dnelson@allantgroup.com 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?20020809151059.GA72261>