On 22 Sep 1998, Ruud de Bruin wrote:

> I want to issue a "clearscreen" in or after a logout command so that
the
> next login is on a blank screen. How can I accomplish this?
>
Terry Carney wrote:
>>
>>If you are using bash then create a file named '.bash_logout', if one
>>dowsn't exist, and add the single command 'clear' .

You can also add:
trap clear 0
at the top of /etc/profile
This will clear the console screen irrespective of which VT that's in
use or who's using it. It's just a single entry in one file.

Mike

Reply via email to