Greet users with the message of the day

Estimated 1 minute read · Friday, 15 February 2019

The message of the day is known as motd. It's used to send a message to users after logging into a shell, commonly used on hosts.

Copy
find / -name "motd" # if you forget where to locate the file
vim /etc/motd

You can generate ASCII art and paste it into the motd file to spice things up.

Copy
   __                  _                  __
  / /   ___ _   _ _ __(_) ___  _   _ ___  \ \
 | |   / __| | | | '__| |/ _ \| | | / __|  | |
< <   | (__| |_| | |  | | (_) | |_| \__ \   > >
 | |   \___|\__,_|_|  |_|\___/ \__,_|___/  | |
  \_\                                     /_/

I found that patorjk.com offers a nice way to generate ascii art.

We use essential cookies to make our site work. With your consent, we may also use non-essential cookies to improve user experience and analyze website traffic. By clicking 'Accept', you agree to our website's cookie use as described in our Privacy Policy.