xiaozi 2017-03-31 18:16:49

shell获取脚本所在目录的绝度路径

shell shell
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

评论

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.154.0. UTC+08:00, 2026-02-23 13:15
浙ICP备14020137号-1 $お客様$