Linux下命令行显示当前全路径方法

来源:互联网 发布:西服定制店 知乎 编辑:程序博客网 时间:2024/05/16 07:07

/etc/profile 和 ~/.bashrc中添加

export PS1="[/u@/h /`pwd/`]$"


原创粉丝点击