clear old output in login screen?

gabe g johndoeismyname at
Sun May 3 19:48:17 UTC 2009

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.


More information about the freebsd-questions mailing list