更改Linux终端中用户名的显示颜色
$ vim /etc/profile #添加如下语句到最后一行
export PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33;1m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
$ source /etc/profile #更新文件
$ vim /etc/profile #添加如下语句到最后一行
export PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33;1m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
$ source /etc/profile #更新文件