Linux登录信息配置

 

 
vi /etc/motd   (Message of today)
 
 
#   #  #     #    #     #   #
#   #  #     #    #     #   #
####### #####   #    #     #   #
#   # #     #    #     #   #
#   # #     #    #     #   #
#   # ####### ####### ####### #######
 
Welcome to  Linux RHEL6.3 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
 
Installed on 2013-03-30
For Linux test server
By  Justin
 
这里的命令不会被执行,只是原版输出
 
 
如果有命令的需要加入/etc/profile(登录就执行,全局配置文件)
echo "Welcome `whoami`  is logging on `hostname` ! Now time is  `date +%Y"-"%m"-"%d" "%H":"%M":"%S` Just enjoy yourself"
 
 
 

你可能感兴趣的:(linux,登录信息)