Answers:
您要寻找的文字在里面
/etc/legal
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
在开始编辑此文件之前:据我所知,这是每位登录用户一次显示的内容。
~/.cache/motd.legal-displayed
它不会显示。因此,只需创建它,它将消失。最简单的方法是执行以下命令:
touch ~/.cache/motd.legal-displayed
如果要添加自己的消息,则可以将文件添加到
/etc/update-motd/
目前它将举行:
00-header 90-updates-available 98-fsck-at-reboot
10-help-text 91-release-upgrade 98-reboot-required
文件名按字母顺序执行,它们的名称说明了所显示的内容。00标题是“欢迎...”文本。10-help-text显示了Ubuntu文档等的URL。