原文链接:https://www.jianshu.com/p/4239d3ea72fe
cd ls -la vim .bashrc 在.bashrc中加入这一行: PS1="[e[37;40m][[e[36;40m]u@h [e[36;40m]w[e[0m]]\$ " 退出.bashrc文件 然后执行 source .bashrc