home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3659 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  834 b 

  1. Path: sparky!uunet!dtix!darwin.sura.net!uvaarpa!gossip.urich.edu!nomad.urich.edu!warnold
  2. From: warnold@gossip.urich.edu (William W. Arnold)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: tcsh: How to disable printing motd w/o disabling mail check?
  5. Message-ID: <warnold.714924486@nomad.urich.edu>
  6. Date: 27 Aug 92 14:08:06 GMT
  7. References: <17dnbeINNq2f@agate.berkeley.edu>
  8. Organization: University of Richmond
  9. Lines: 11
  10.  
  11. In <17dnbeINNq2f@agate.berkeley.edu> forest@soda.berkeley.edu (Forest Edward Wilkinson) writes:
  12. >I'm using tcsh, and would like to disable the printing of /etc/motd
  13. >at login, without getting rid of the "You have {new} mail" messages.
  14.  
  15. if (`ls -t1 $mail $home/.hushlogin | head -1` == $mail) then
  16.   echo '-----new mail-------'
  17.   touch $home/.hushlogin
  18. endif
  19.  
  20. -- 
  21. -billy-  warnold@nomad.urich.edu   has8wwa@cabell.vcu.edu
  22.