Shell脚本IF条件判断和判断条件总结

if list then do something here elif list then do another thing here else do something else here fi #!/bin/sh SYSTEM=`uname -s` #获取操做系统类型,我本地是linux if [ $SYSTEM = "Linux" ] ; then #若是是l
相关文章
相关标签/搜索