linux不显示路径

 vim /etc/profile # 添加下面变量

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

 source /etc/profile

posted @ 2023-01-03 14:06  shangxin_bai  阅读(174)  评论(0)    收藏  举报