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

xiaoxiao2021-02-28  29

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

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

效果如下图所示

转载请注明原文地址: https://www.6miu.com/read-2627764.html

最新回复(0)