Re: clear screen on logout
At 09:50 AM 29/04/97 -0700, Ryan Shaw wrote:
>i've looked through the archives and haven't found an answer as of yet.
>i'd like the screen cleared on logout and the login prompt to appear at
>the top. i've worked around this by using an alias in bashrc, but i'm
>sure there is a better way.
Best way (the way I do it) is to do this:
clear > /etc/motd
However, make sure you make a backup copy of your original MOTD so you can
then edit the file and after all the ascii characters put it back.
Tower Networking Pty Ltd Tel: +61-8-9456-0000 firstname.lastname@example.org
t/a STAR Online Services Fax: +61-8-9455-2776 email@example.com
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .