Remove the “Last login” message from the Terminal
When you launch a new Terminal window or tab in Mac OS X you’ll be greeted with a screen that looks something like this:
Last login: Tue Jun 22 10:59:29 on ttys003
You can easily get rid of that ‘Last login’ message at the top by entering the following command:
Now when you launch a new terminal you won’t see the message, changes take effect immediately. If you want to reverse this, all you have to do is remove the ‘touched’ .hushlogin file, by entering the following command:
If you want to, you can create a custom MOTD with whatever message you want that will be displayed instead.