motd
    Tom Christiansen 
    tchrist at convex.UUCP
       
    Sun Oct 16 23:52:38 AEST 1988
    
    
  
In article <664 at bnlux0.bnl.gov> como at bnlux0.UUCP (Andrew Como) writes:
>	Once upon a time, someone posted a method to 
>eliminate printing the motd if it had not been changed
>since the last login.  Will someone repost it  or mail it 
>to me.
put this in ~/.hushlogin:
    all: .hushlogin
    .hushlogin: /etc/motd
	    @-cat /etc/motd
	    @-touch .hushlogin
now in .login, say "make -f ~/.hushlogin"
--tom
    Tom Christiansen              {uiucdcs,ut-sally,sun}!convex!tchrist 
    Convex Computer Corporation                     tchrist at convex.COM
	UNIX Support, Training, and System Administration
	    "That's not a bug -- it's a feature!"
    
    
More information about the Comp.unix.wizards
mailing list