https://zhuanlan.zhihu.com/p/340003720
有一个PS1的变量控制命令行前面的字段,可以在.bash_profile这么修改:
PS1="[\u@\H \W]$ "
source .bash_profile
https://zhuanlan.zhihu.com/p/340003720
有一个PS1的变量控制命令行前面的字段,可以在.bash_profile这么修改:
PS1="[\u@\H \W]$ "
source .bash_profile