命令,再.bashrc文件最后直接添加
root用户:
PS1='${debian_chroot:+($debian_chroot)}[�33[01;31m]u[�33[00m]@h:[�33[01;36m]w[�33[00m][t]n$'
exportLS_COLORS=$LS_COLORS"*.py=00;35:*.pl=00;32:*.sh=01;32:*.xls=04;36:*.png=04;35;43:*.fa=04;33:*.R=00;32:*.r=00;32:*.vcf=04;35:"