loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • Shell script dirname
  • 離開本站
你即將離開本站

並前往https://qastack.cn/programming/59895/how-to-get-the-source-directory-of-a-bash-script-from-within-the-script-itself

如何从脚本本身中获取Bash脚本的源目录 - QA Stack

您可以通过user25866融合的答案这种方法在一个解决方案,工程与到达 source <script> 和 bash <script> : DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ...

確定! 回上一頁

查詢 「Shell script dirname」的人也找了:

  1. Shell script dirname
  2. Shell script
  3. Shell script readlink
  4. Shell script 環境變數
  5. Shell Script 輸入 字串
  6. Shell script path
  7. shell script參數
  8. Shell script 直接執行

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿