修改.bashrc文件即可
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\A @\h]\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$'
source .bashrc即可
修改.bashrc文件即可
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\][\A @\h]\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$'
source .bashrc即可