macos linux 命令行显示当前全路径方法

修改.bash_profile文件

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

 

posted @ 2016-06-13 11:43  klj123wan  阅读(2381)  评论(0编辑  收藏  举报