Date: Sat, 9 Feb 2002 04:47:21 +0100 From: Cliff Sarginson <cliff@raggedclown.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: how to clear the screen while logging off Message-ID: <20020209034721.GB6163@raggedclown.net> In-Reply-To: <20020209031155.42851.qmail@web13401.mail.yahoo.com> References: <20020208185905.G91586-100000@fremont.bolingbroke.com> <20020209031155.42851.qmail@web13401.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 08, 2002 at 07:11:55PM -0800, Andrew Gould wrote: > --- Ken Bolingbroke <hacker@bolingbroke.com> wrote: > > > > > > On Fri, 8 Feb 2002, Skull Crusher wrote: > > > > > Hello, > > > Is there a way to clear the screen as you log off > > besides just typing > > > CLEAR and then type EXIT > > > What I would like it to look like is just like the > > normal logon screen > > > where it just says FreeBSD/i386 > > (blah.blah.blah.com) ttyvX > > > If you know what I mean.. > > > > If your shell executes a logout script, stick a > > 'clear' statement in that. > > I use tcsh which uses ~/.logout for individual users > > and /etc/csh.logout > > for systemwide. > > > > Ken Bolingbroke > > hacker@bolingbroke.com > > For the bash shell, put the 'clear' statement in > ~/.bash_logout. > > As root, you can then copy the .bash_logout file to > /usr/share/skel/dot.bash_logout to automatically > install the file in new users' home directories. > Mmm, if you are doing this for security reasons you may want to check what happens after you log out, set the scroll-lock key to on, and push up-arrow... -- Regards Cliff 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?20020209034721.GB6163>