HuYuee opened this issue 8 years ago · 0 comments
sysOS=`uname -s` if [ $sysOS == "Darwin" ];then echo "I'm MacOS" elif [ $sysOS == "Linux" ];then echo "I'm Linux" else echo "Other OS: $sysOS" fi