loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • shell script路徑變數
  • 離開本站
你即將離開本站

並前往https://www.ltsplus.com/linux/shell-script-get-script-location

Shell Script 取得Script 所在目錄位置 - Linux 技術手札

在Shell Script 的$0 變數代表指令的第一個參數, 即Shell Script 本身 ... 以上寫法雖然簡單, 但如果用相對路徑執行, 只會返回相對路徑的目錄, 例如:.

確定! 回上一頁

查詢 「shell script路徑變數」的人也找了:

  1. shell script變數
  2. shell script環境變數
  3. shell script互動式輸入
  4. shell script參數
  5. shell script變數相加
  6. Shell Script
  7. shell script宣告變數
  8. Shell script $1

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿