motd(5)

๐ŸŽ€ motd(5) โ€” the girlies' guide to the message of the day ๐Ÿ’–

okay so bestie, welcome to motd from section 5 of the manual (that's the File Formats girlies, not the commands girlies, iykyk) โœจ


โœจ NAME โœจ

motd โ€” message of the day ๐Ÿ—’๏ธ๐Ÿ’…


๐ŸŒธ DESCRIPTION ๐ŸŒธ

So here's the tea: the contents of /etc/motd get displayed by login(1) after a successful login but just before it executes the login shell. That's the whole vibe โ€” you log in, the box yells at you for a sec, and then your shell shows up. Main character energy, honestly. ๐Ÿ‘‘

And yes, the abbreviation "motd" stands for "message of the day" ๐Ÿ’ซ and this file has been traditionally used for exactly that. iconic behaviour, no notes. The reason it's this and not a mass email situation is very practical ngl: it requires much less disk space than mail to all users. efficiency queen ๐Ÿ“

so likeโ€ฆ it's literally just a text file that says hi. and it's been doing that for decades. ate. ๐Ÿ”ฅ

๐Ÿฆ‹ FILES ๐Ÿฆ‹

  • /etc/motd โ€” the file itself, the one and only ๐Ÿ’œ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

  • login(1) โ€” the thing that shows you your motd ๐Ÿซถ
  • issue(5) โ€” sibling file, different pre-login moment โœจ

and that's the whole page bestie, we're done ๐ŸŽ€ this was pulled from Linux man-pages 6.20, dated 2025-05-17 โ€” go touch some grass, or better yet go write something cute in /etc/motd ๐Ÿ’–๐Ÿ’…๐Ÿงš

๐Ÿ“ฆ where this page comes from
  • arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • ๐Ÿ“œ the page's license: GPL-2.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms