motd (Unix)
The /etc/motd is a file on Unix-like CLI systems that contains a "message of the day", used to send a common message to all users in a more efficient manner than sending them all an e-mail message. Other systems might also have an motd feature, such as the motd info segment on MULTICS.[1]
Most modern, current day Linux distributions do not have /etc/motd as a file.[citation needed]
Usage
The contents of the file /etc/motd are displayed by the Unix login command after a successful login, and just before it executes the login shell.[2]
Newer Unix-like systems may generate the message dynamically when the host boots or a user logs in.[3]
The MOTD has also become a common feature of the online component of various PC games, such as Half-Life, Call of Duty, Minecraft, and Battlefield. A similar feature called MOTD is displayed when logging on to some IRC servers.[4]
See also
References
- ↑ "Multics Glossary -M-". http://multicians.org/mgm.html.
- ↑ The complete FreeBSD: documentation from the source, By Greg Lehey, p.572
- ↑ Project, Ubuntu Documentation (May 2011). Ubuntu 11.04 Server Guide. ISBN 9781596822603. https://books.google.com/books?id=gpbk66Y_s5sC&q=ubuntu+motd&pg=PA269.
- ↑ "Internet Relay Chat: Client Protocol". https://tools.ietf.org/html/rfc2812#page-25.