Which file contains the message that is displayed above the login prompt of the system console? (Specify the full name of the file, including path.)

Answer: /etc/issue

题解

「/etc/issue」文件可以设置用户在本机登录 Shell 前,Linux 操作系统要显示的消息。

「/etc/issue.net」文件可以设置用户在使用 telnet 或 SSH 登录 Shell 前,Linux 操作系统要显示的消息。若要在 SSH 使用,则必须设置 SSH 服务器的设置档,加上:

Banner /etc/issue.net

「/etc/motd」文件可以设置用户在登录 Shell 后,运行 Shell 前,Linux 操作系统要显示的消息。