linux登录提示修改

通常登录修改提示修改两个地方即可,如下:
1、profile /etc/profile或者~/.profile、~/.bashrc (bash shell有效)
2、motd /etc/motd 如下截图是修改了profile做到的 图片:


佛祖保佑

 profie增加内容如下:





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
echo - ne "\033[0;33m"
 
cat <<EOT
 
                                   _oo0oo_
                                  088888880
                                  88 " . " 88
                                  (| -_- |)
                                   0\ = /0
                                ___/ '---' \___
                              . ' \\\\|     |// ' .
                             / \\\\|||  :  ||| // \\
                            /_ ||||| -:- |||||- \\
                           |   | \\\\\\  -  /// |   |
                           | \_|  '' \---/ ''  |_/ |
                           \  .-\__  '-'  __ /- .  /
                         ___ '. .'  /-- .--\  '. .' ___
                      . "" '<  ' .___\_<|>_ /___ . ' >'  "" .
                     | | : '-  \'.;' \ _ / ';.' / - ' : | |
                     \  \ '_.   \_ __\ /__ _/   .-' /  /
                 ===== '-.____' .___ \_____ /___ .- '____.-' =====
                                   '=---='
 
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         佛祖保佑    iii    永不死机
 
EOT
 
echo - ne "\033[m"


你可能感兴趣的:(linux,登陆提示)