[Linux] shell中获取当前绝对路径

DIR=$(cd `dirname $0` ; pwd)

posted @ 2019-12-25 20:30  LeeAaron  阅读(2381)  评论(0编辑  收藏  举报