Quantcast
Viewing latest article 5
Browse Latest Browse All 5

Answer by assayag.org for How do I add welcome message to Linux?

You can write your message freely in a separate file and add

echo "$(</path/to/file)"

in any of the files contained in /etc/update-motd.d

Pretty useful if your message contains "' or ` chars. (for example in ascii art)


Viewing latest article 5
Browse Latest Browse All 5

Trending Articles