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