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


This will only clear for console logins.

-- 
Marshal Newrock, Simon's Rock College of Bard
Caution: product may be hot after heating


--
[EMAIL PROTECTED] mailing list

Reply via email to