Shell 获取当前脚本路径 发表于 2017-10-26 | 分类于 Shell | 浏览量: 12echo $(cd `dirname $0`;pwd)project_path=`dirname $(cd \`dirname $0\`;pwd)`;