Linux中创建自己的欢迎登陆界面

/etc 在Linux中相当于Windows的注册表 修改其中文件可以影响整个Linux系统

MOTD

motd:message of the day

/etc/motd

/etc/motd文件作用是:每次系统登陆时,通过终端展示一些消息给登陆用户,如向用户提示欢迎信息,或提示使用系统的注意事项等等信息像公告板一样为所有用户提示信息。

[root@C8 ~]# cat /etc/motd
[root@C8 ~]# vim /etc/motd
[root@C8 ~]# cat /etc/motd
/**
 *                    _ooOoo_
 *                   o8888888o
 *                   88" . "88
 *                   (| -_- |)
 *                    O = /O
 *                ____/`---'\____
 *              .   ' \| |// `.
 *               / \||| : |||// 
 *             / _||||| -:- |||||- 
 *               | | \ - /// | |
 *             | \_| ''---/'' | |
 *               .-\__ `-` ___/-. /
 *           ___`. .' /--.-- `. . __
 *        ."" '< `.___\_<|>_/___.' >'"".
 *       | | : `- \`.;` _ /`;.`/ - ` : | |
 *           `-. \_ __ /__ _/ .-` / /
 * ======`-.____`-.___\_____/___.-`____.-'======
 *                    `=---='
 *
 * .............................................
 *          佛祖保佑             永不宕机
 */

* * * 胖并快乐着的死肥宅 * * *
原文地址:https://www.cnblogs.com/bpzblog/p/12609383.html