https://neofetch.dev/scripts/your-motd-id.sh
Run this in your terminal
curl -sSL https://neofetch.dev/scripts/your-motd-id.sh | sudo bash
Download and review first
curl -sSL https://neofetch.dev/scripts/your-motd-id.sh -o motd-install.sh
chmod +x motd-install.sh
cat motd-install.sh # review the script
sudo ./motd-install.sh # then install
Manual install steps
sudo cp motd.sh /etc/profile.d/motd.sh
sudo chmod +x /etc/profile.d/motd.sh
# Or add to /etc/motd for static MOTD:
sudo bash /etc/profile.d/motd.sh > /etc/motd