Beta 42

Research and Development

Menu

Setup MOTD Message

Go to this location and select the MOTD design.

Edit mymotd.sh file:

sudo vim /etc/profile.d/mymotd.sh

Paste the following example content into the file:

#!/bin/bash
RED='\033[0;31m'
NC='\033[0m' # No Colour
echo -e "${RED}"
echo -e " mymotd text here "
echo -e "${NC}"
echo "Server uptime:"
uptime
echo ""