vorfee's Tech Blog

Just another tech blog

2015-02-23から1日間の記事一覧

ターミナル1行目の「Last login:」表示を消す

ターミナルを起動した時、ログインシェルの1行目に表示されるLast loginの表示がある。 Last login: Mon Feb 23 00:10:48 on ttys000 表示を消すにはホームディレクトリに空の.hushloginファイルを作る。 touch ~/.hushlogin 逆に、表示したいときはホームデ…