rotating motd

Jerry McAllister jerrymc at clunix.cl.msu.edu
Fri May 30 19:04:30 PDT 2003


> 
> 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
> 


More information about the freebsd-questions mailing list