On 2003.06.06 01:38, Marshal Newrock wrote:
On Fri, 6 Jun 2003, Jamie Dobbs wrote:

> How can I make it so that whenever I log out of a console and return
the
> the login prompt the screen clears ie. the login prompt is always at
the
> top of a 'clear' screen.

Put this in your .bash_logout:

case "`tty`" in
    /dev/vc/[0-9]) clear
esac

I've always just put this line in /etc/profile:

trap /usr/bin/clear EXIT

-Chris I

There are new messages.

Attachment: pgp00000.pgp
Description: PGP signature



Reply via email to