How to clear screen after logout?

Extracted from debian-list
Tip provided by Mike Barton
        
>>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.

Follow-up :
| Previous | Next | Index of category | Main Index | Submit |


Appears in section(s) : screen
Tip recorded : 08-10-1998 10:37:59
HTML page last changed : 27-07-1999 20:10:29