home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3632 < prev    next >
Encoding:
Text File  |  1992-08-26  |  790 b   |  18 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!think.com!paperboy.osf.org!rsalz
  3. From: rsalz@osf.org (Rich Salz)
  4. Subject: Re: tcsh: How to disable printing motd w/o disabling mail check?
  5. Message-ID: <1992Aug26.143456.14941@osf.org>
  6. Sender: news@osf.org (USENET News System)
  7. Organization: Open Software Foundation
  8. References: <17dnbeINNq2f@agate.berkeley.edu>
  9. Date: Wed, 26 Aug 1992 14:34:56 GMT
  10. Lines: 6
  11.  
  12. In <17dnbeINNq2f@agate.berkeley.edu> forest@soda.berkeley.edu (Forest Edward Wilkinson) writes:
  13. >I'm using tcsh, and would like to disable the printing of /etc/motd
  14. >at login, without getting rid of the "You have {new} mail" messages.
  15. >
  16.     cmp -s /etc/motd $HOME/.hushlogin
  17.     if ( $status ) tee $HOME/.hushlogin </etc/motd
  18.