[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clearing the screen

On Thu, Dec 05, 2002 at 06:43:46PM -0500, Simon Law wrote:
> On Thu, Dec 05, 2002 at 03:40:19PM -0800, Dominic Iadicicco wrote:
> > How do I set it up in bash, so that when I logout it
> > will clear the screen first?
> 	Use the .bash_logout file to declare what you want to do when
> logging out.

btw, 'clear' is the command you want to put in your logout file...
.bash_logout	<-- bash
.ksh_logout	<-- ksh
.zsh_logout	<-- zsh
.logout 	<-- csh, tcsh

but read the shell in question's man page (or experimnt) to make sure...


Ben Hartshorne     benAThartshorneDOTnet     http://ben.hartshorne.net
PGP keyserver:pgp.dtype.org          Please encrypt all communications

Attachment: pgp62vZ9v8XaC.pgp
Description: PGP signature

Reply to: