loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

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

並前往https://juejin.cn/post/6844904073162915847

请问如何将if then fi 写成一行shell ? - 掘金

请问如何将下面的语句写到一行里面去?谢谢! if [ "$?" -ne "0" ]; then echo "FAIL" exit 1 else echo "SUCC"

確定! 回上一頁

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

  1. shell if參數
  2. C shell if else
  3. shell script if多條件
  4. shell if -z
  5. shell script if -z option
  6. Shell if not
  7. linux if用法
  8. shell script判斷

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿