Articles Snippets Projects Uses

Remove the Last login Message from the Terminal

4 months ago May 5th ΚΌ21

1 min 150 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:

1

Switch to your home folder

cd ~

2

Create an empty .hushlogin file

touch .hushlogin

3

Restart or your Terminal