如何在登录时添加在linux命令行中显示消息?

Nic*_*ong 7 linux

我希望向正在使用putty的个人显示某些消息到linux shell.当人们登录linux shell时,我如何配置某种欢迎消息?

Mag*_*lob 24

当天的消息,/ etc/motd

即编辑/ etc/motd文本文件


moo*_*ogs 0

将一些内容放入文件 /etc/issue 中

更多详细信息请参见http://www.linuxfromscratch.org/blfs/view/svn/postlfs/logon.html


crap /etc/motd 是我试图记住的文件。赞同他的回答:)