详解在bash脚本中如何获取自身路径

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"html 这是stackoverflow上推荐的方法ios http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself bash 我看了两遍
相关文章
相关标签/搜索