Don’t like your console opening message? I’ll show you how to change it. The file is located at:

/etc/motd

There are plenty of small utilities that can create drawings and other interesting displays:

Cowsay

Allows you to put text in a small drawing (by default a cow, but other drawings are available):

1
sudo apt-get install cowsay

Example:

1
2
echo Serveur Toto|cowsay -f eyes
ls /usr/share/cowsay/cows

Boxes

Allows you to place text in small drawings (mainly for adding comments in code lines):

1
sudo apt-get install boxes

Example:

1
echo Acces on this server is stricly restricted | boxes -d peek

Lets you use colorized Linux banners:

1
sudo apt-get install linuxlogo

Example:

1
linux_logo

FIGlet

Allows you to write text in ASCII art form:

1
sudo apt-get install figlet

Example:

1
2
figlet -f small Access Restricted
showfigfonts|more

Disabling MOTD in SSH

If you no longer want any messages when booting via SSH, this command is enough:

1
touch ~/.hushlogin

Last updated 24 Aug 2007, 21:40 CEST. history