man手册对/etc/issue文件的描述是:

      The file /etc/issue is a text file which contains a message or system identification to be printed before the login prompt. It may contain various @char and \char sequences, if supported by getty.

      如上所述,修改/etc/issue文件可以达到修改登录提示语的作用。修改并保存该文件之后,重启,重启完成之后,按组合键Ctrl+Alt+F1进入终端模式,你就可以看到修改之后的提示语了。

      /etc/issue - escape code

      The issue-file (/etc/issue or the file set with the -f option) may contain certain escape codes to display the system name, date and time etc. All escape codes consist of a backslash (\) immediately followed by one of the letters explained below.

      \b : Insert the baudrate of the current line.插入当前行的波特率

      \d : Insert the current date.  插入当前的日期

      \s : Insert the system name, the name of the operating system. 插入操作系统的名字

      \l : Insert the name of the current tty line. 插入当前tty的线路

      \m : Insert the architecture identifier of the machine, eg. i486  插入硬件信息

      \n : Insert the nodename of the machine, also known as the hostname. 插入主机名

      \o : Insert the domainname of the machine. 插入本机域名

      \r : Insert the release number of the OS, eg. 1.1.9. 插入操作系统版本

      \t : Insert the current time.   当前时间

      \u : Insert the number of current users logged in.  登陆用户的数量

      \U : Insert the string "1 user" or " users" where is the number of current users logged in.插入“1用户”或“用户”,其中的当前用户登录的数字

      \v : Insert the version of the OS, eg. the build-date etc.插入版本的操作系统,如生成日期等