Assuming you want to add some fancy graphic at the top of the banner. Generate one using TAAG.
/etc/update-motd.d/00-header
printf
add the banner title. Remember to add newlines \n
) at the end of each printf (good old C style), e.g.printf "\n\n ██╗ ███╗ █████╗ ██╗ ████████╗ █████╗\n" printf "████╗ ████║██╔══██╗██║ ╚══██╔══╝██╔══██╗\n" printf "██╔████╔██║███████║██║ ██║ ███████║\n" printf "██║╚██╔╝██║██╔══██║██║ ██║ ██╔══██║\n" printf "██║ ╚═╝ ██║██║ ██║███████╗██║ ██║ ██║\n" printf "╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝\n"
sudo run-parts /etc/update-motd.d/
. This will concatenate all output of the scripts in that directory.