home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!uvaarpa!gossip.urich.edu!nomad.urich.edu!warnold
- From: warnold@gossip.urich.edu (William W. Arnold)
- Newsgroups: comp.unix.shell
- Subject: Re: tcsh: How to disable printing motd w/o disabling mail check?
- Message-ID: <warnold.714924486@nomad.urich.edu>
- Date: 27 Aug 92 14:08:06 GMT
- References: <17dnbeINNq2f@agate.berkeley.edu>
- Organization: University of Richmond
- Lines: 11
-
- 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.
-
- if (`ls -t1 $mail $home/.hushlogin | head -1` == $mail) then
- echo '-----new mail-------'
- touch $home/.hushlogin
- endif
-
- --
- -billy- warnold@nomad.urich.edu has8wwa@cabell.vcu.edu
-