motd.tail根据此错误报告已弃用:
motd(5) says: "The contents of this file are regenerated upon every system
boot based on the contents of /etc/motd.tail." This is not true anymore, as
Ubuntu uses the update-motd framework. Any reference to motd.tail should be
replaced with a reference to the update-motd framework or update-motd(5).
The manpage for motd.tail should be removed.
Run Code Online (Sandbox Code Playgroud)
我在登录时使用它来识别我的服务器并确保我在正确的机器上,所以我不需要任何动态,只需要一条简单的消息。
motd.tail与适用于 Ubuntu 11.04 的(在 MOTD 末尾附加一条小消息)的等效项是什么?