loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

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

並前往https://askubuntu.com/questions/893911/when-writing-a-bash-script-how-do-i-get-the-absolute-path-of-the-location-of-th

When writing a bash script, how do I get the absolute path of ...

You can get the full path like: realpath "$0". And as pointed out by Serg you can use dirname to strip the filename like this

確定! 回上一頁

查詢 「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

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿