shell 中鍵盤輸入

命令read 測試test.sh #!/bin/bash read -p "Please input number:" num if [ "$num" -eq "1" ]; then         echo -e "\033[32mYou enter the number is 1\033[0m" elif [ "$num" -eq "2" ];then          echo -e "\0
相關文章
相關標籤/搜索