shell获取当前脚本执行绝对路径

kevin.Zhu 发布于:2013-12-9 11:23 分类:邮件  有 18 人浏览,获得评论 0 条  

base_dir=$(cd "$(dirname "$0")";pwd)