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:

1

Switch to your home folder

cd ~

2

Create an empty .hushlogin file

touch .hushlogin

3

Restart or your Terminal