bash 脚本获取路径 echo $(pwd) echo $(dirname $0) echo $(dirname $(readlink -f "$0")) 当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »