Get rid of the virtual console legal boilerplate

Whenever you login to a virtual console, you're show a few paragraphs of legal boiler plate, reminding you that Ubuntu is free software and is supplied without warranty. Once you've read this you're unlikely to forget it so to stop it appearing each time you login, type the following into a terminal window, which will delete the contents of the "message of the day" (motd) file, which is responsible for the message:3

3. Actually, the two commands first delete /etc/motd and then recreate an empty file with the same name using the touch command.

Of course, rather than deleting the file, you might just choose to replace the text within it with something else. It's a simple text file. To load it into Gedit, type gksu gedit /etc/motd and change its contents to whatever you want.

For more virtual console-related productivity tips, see Tip 46, on page 109; Tip 179, on page 219; Tip 193, on page 232; Tip 198, on page 236; Tip 207, on page 241; and Tip 233, on page 276.

Was this article helpful?

0 0

Post a comment