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

Re: How to clear screen before login prompt



On Mon, 29 Jun 1998, Jieyao wrote:

> 
> I was trying to do a clear screen after I logout from the console before the login 
> prompt appears.
> 
> Any idea how this can be done? I tried some escape sequence but doesn't 
> work.


using `clear` in .bash_logout is fine, but if you are like me, and like to
rid yourself of an extra file, add `trap clear EXIT` to your
.bash_profile, or even /etc/profile.



                       Michael Beattie (mickyb@es.co.nz)

               PGP Key available, reply with "pgpkey" as subject.
 -----------------------------------------------------------------------------
     WinErr: 003 Dynamic linking error - Your mistake is now in every file
 -----------------------------------------------------------------------------
                Debian GNU/Linux....  Ooohh You are missing out!



--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: