Articles Snippets Projects

Remove the Last login Message from the Terminal

May 5th ΚΌ21 1 year ago

1 min 159 words

Launching a new Terminal window in macOS or most of the linux distributions greets you with a last login info:

Last login: Sun Mar 28 20:57:37 on ttys001

To remove the last login message:


Switch to your home folder

cd ~


Create an empty .hushlogin file

touch .hushlogin


Restart or your Terminal