不知什么原因,linux经过一翻修改后,出现如下-bash-3.00$问题。

解决方法:

vi ~/.bash_profile

加入如下内容:

export PS1="\h/\w$"