Create Dynamic MOTD in Debian:


Edit this file with nano:
sudo nano /etc/profile.d/custom-motd.sh

Then add these contents as an example (must have the shell listed at the top):
=================

#!/bin/bash
neofetch


=================
Save by Ctrl+X.

Log out then log back in and now you're dynamic MOTD should be working!


Source | Date: October 27th 2025



Back

© 2019 to 2025 Branden Gilfoil & © up to 2025 for respective owners.