Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2009 22:13:43 +0200
From:      Peter Boosten <peter@boosten.org>
To:        gabe g <johndoeismyname@gmail.com>
Cc:        jwdevel@gmail.com, freebsd-questions@freebsd.org
Subject:   Re: clear old output in login screen?
Message-ID:  <0593A9C9-1B4A-44C1-BC9B-7BA335B2C5B6@boosten.org>
In-Reply-To: <fc6993210905031248r6d7e4ee5vdcf14f6454725fec@mail.gmail.com>
References:  <fa8771800905031146v51a8b752ra125f68a2520da4f@mail.gmail.com> <fc6993210905031248r6d7e4ee5vdcf14f6454725fec@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 3 mei 2009, at 21:48, gabe g wrote:

> Hey John,
>      In order to achieve this, there are two methods that I know of,
> however, they are only tested in the Bourne and Bourne Again shells.
>
> clear && logout                 # Bourne Again (Bash) Shell
> clear && exit                     # Bourne (sh) Shell
>
> You may have to try similar commands (specific for that shell) for  
> shells
> that are not Bourne-derived, but one of these two commands should  
> almost
> always work.
>

clear > /etc/issue

Peter
-- 
http://www.boosten.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0593A9C9-1B4A-44C1-BC9B-7BA335B2C5B6>