centos7 任意用户登录时,显示红色字体的警示提醒信息

编辑如下文件:/etc/profile.d/env.sh

echo -e "\E[1;31mHello User!\E[0m"
posted @ 2022-07-28 14:58  thomas-wu  阅读(310)  评论(0)    收藏  举报