linux shell if test的相關文章
linux shell if test的相關公司資訊
linux shell if test的相關商品

Linux shell編程——if條件判斷 - wokaotesting - 博客頻道 - CSDN.NET
瀏覽:1281
日期:2025-04-27
[macg@mac-home ~]$ vi test.sh: echo "input the num:" read num echo "input is $num" if [ -z "$JHHOME" -a -d $HOME/$num ] 如果變數$JHHOME為空,且$HOME/$num目錄存在 then JHHOME=$HOME/$num 則賦值 fi echo "JHHOME is ......看更多