出现原因:
基本上是因为删除了 .bash_profile 这个隐藏文件或者改了这个.bash_profile 中的配置导致的
解决方法:
vi ~/.bash_profile
在文件最后加上
export PS1='[\u@\h \W]\$'
然后
source ~/.bash_profile
就可以了
上一篇:Markdwon语法
下一篇:java的jar包启动脚本
名称(*)
邮箱(*)
网址
验证码(*)