linux命令提示符设置
变成绿色
[root@localhost /usr/local]#vim /root/.bashrc
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export PS1='\[\e[32;1m\][\u@\h \w]\n#\[\e[m\]'