Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 22:04:28 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        deesto@yahoo.com (John DeStefano)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rotating motd
Message-ID:  <200305310204.h4V24SVF009014@clunix.cl.msu.edu>
In-Reply-To: <20030530202516.56184.qmail@web40611.mail.yahoo.com> from "John DeStefano" at May 30, 2003 01:25:16 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> A trivial question, but a question nonetheless!  My FreeBSD /etc/motd is a static and rather boring file.  I recall that when I used to login to my Slackware machine, it spruced things up a bit by offering some sort of rotating motd, which would spit out a random quote or joke instead of the same ol' static message.  Is there a way to simulate this in FreeBSD?  Unfortunately, 'man motd' does little more than state the obvious, and describe a method by which to surpress the motd altogether.
> This, of course, occurs to me as I ssh into my home machine from work!

Just run 'fortune' from within your .cshrc or whatever shell startup script.
That's what does it.

see  man fortune

////jerry

> Thanks,
> ~John
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305310204.h4V24SVF009014>