linux之定制化登录时候的输出
vim /etc/profile
然后添加一下代码:
RED='\033[0;31m' NONE='\033[0m' # reset colour attribues printf "${RED}This is in red ${NONE}\n"
黄世宇/Shiyu Huang's Personal Page:https://huangshiyu13.github.io/
vim /etc/profile
然后添加一下代码:
RED='\033[0;31m' NONE='\033[0m' # reset colour attribues printf "${RED}This is in red ${NONE}\n"