Quieting the shell during login sessions


Most of the Solaris systems I access through an SSH shell session display a bunch of cruft (e.g., do you have mail?, etc.) when I login. To reduce the amount of chatter, I recently created a .hushlogin file in the home directory of each server I support:

$ touch HOME/.hushlogin

When this file is present, the logic in /etc/profile will limit what is displayed. Niiiiiice!

This article was posted by Matty on 2007-06-09 14:53:00 -0400 EDT