- motd
[root@lsr7 ~]# vi /etc/motd //用戶登錄系統(tǒng)開機(jī)后顯示這個(gè)文件內(nèi)容
[root@lsr7 ~]# cat /etc/motd
#######
huahua
#######
//xshell斷開重啟,就可以看到剛剛編輯的內(nèi)容 - issue
[root@lsr7 ~]# cat /etc/issue //查看系統(tǒng)登錄前(開機(jī)前)的內(nèi)容
\S
Kernel \r on an \m
[root@lsr7 ~]# echo huahua > /etc/issue //為了安全用huahua替代原來系統(tǒng)內(nèi)容
[root@lsr7 ~]# cat /etc/issue
huahua