clear old output in login screen?

jw jwdevel at
Sun May 3 21:22:18 UTC 2009

On Sun, May 3, 2009 at 12:48 PM, gabe g <johndoeismyname at> 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

I tried this, but I can still scroll back with the scroll lock key.
'clear' seems to just put the prompt at the top of the screen, not get
rid of scroll history...


More information about the freebsd-questions mailing list