服务器 linux shell 获取当前正在执行脚本的绝对路径 作者admin,发布于 6 6 月, 2018。 3条评论 workdir=$(cd $(dirname $0); pwd) 解释: 步骤1 dirname $0,取得当 […]