[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Clearing screen before login prompt.
- From: Ivan Fetch <ivanfetch technologist com>
- To: blinux-list redhat com
- Subject: Clearing screen before login prompt.
- Date: Mon, 28 Jun 1999 18:00:54 -0400
Hi,
I'm not sure about clearing the screen before the very first login
prompt you get when you boot your machine, but if you want the screen to
clear after a user logs out, thereby placing the login prompt at the top of
the screen, put the following line in /etc/profile or in ~/.profile (in the
case of bash) (/etc/profile is for all users, ~/.profile is user-specific):
trap clear 0
This "traps" the exit signal from the shell, issuing a `clear' command once
the shell exits.
Hope this helps,
Ivan Fetch.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]