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

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.
>>any ideas?
>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.

I think /etc/issue might be a better choice 'cause it gets displayed by
getty I believe

Alec Clews,  <alec@consulting.tca.co.uk>,         TCA Consulting Ltd
Tel:44-(0)171-415-8159   Fax:44-(0)171-556-0022, PGP keyid:48FA EB81
New City Court, 20 St Thomas Street, London, Britain, SE1 9SD
=======================Usual Disclaimers Apply======================

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: