xshell链接远程服务器centos7显示-bash-4.2#

 

解决

vim ~/.bash_profile

加上那一行

export PS1='[\u@\h \W]\$'

然后保存退出

source ~/.bash_profile
posted @ 2021-01-08 15:30  人艰不拆_zmc  阅读(443)  评论(0)    收藏  举报