Suppressing login messages

After a successful login, the login command displays the message of the day, the date and time of the last successful and unsuccessful login attempts for this user, and the total number of unsuccessful login attempts for this user since the last change of authentication information (usually a password). You can suppress these messages by including a .hushlogin file in your home directory.

At the prompt in your home directory, type the following command:
touch .hushlogin

The touch command creates the empty file named .hushlogin if it does not exist. The next time you log in, all login messages will be suppressed. You can instruct the system to retain only the message of the day and suppress other login messages.