Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: MOTD Help

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    MOTD Help

    I was wondering if there is a way to set the MOTD to pull random quotes from a web site or a file? I would like my MOTD to be random everytime I login to my server.

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Western Kentucky
    you would need some script to replace /etc/motd.

    here is a rather simple way of doing it:

    i would suggest you look at the fortune program. it generates random quotes and what not. just have it fire off every minute or so and rewrite /etc/motd
    linux user # 503963

  3. #3
    Thanks! I had to Download the fortune program. Thanks for pointing me in the right direction.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts