loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

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

並前往https://serverfault.com/questions/146745/how-can-i-check-in-bash-if-a-shell-is-running-in-interactive-mode

How can I check in bash if a shell is running in interactive mode?

According to man bash : PS1 is set and $- includes i if bash is interactive, allowing a shell script or a startup file to test this state.

確定! 回上一頁

查詢 「Shell if or」的人也找了:

  1. shell if多條件
  2. shell if -z
  3. shell if參數
  4. Shell if and
  5. Linux if
  6. Linux if -z
  7. shell if判斷
  8. Bash if or

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿