我们修改用户的环境变量.bashrc

添加:PS1='${debian_chroot:+($debian_chroot)}\e[1;35m xxxDB \e[0m[\u@\h:\w]\$'
Tip:\w时候会将当前路径都在提示符中显示出来
       \W时为系统默认显示的当前目录