經安全檢測,此網站為安全網站,請放心前往原始網址!

Linux shell編程——if條件判斷 - wokaotesting - 博客頻道 - CSDN.NET

[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 ...

blog.csdn.net

網址安全性掃描由 google 提供