詳解在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 我看了兩遍
相關文章
相關標籤/搜索