标签: bash shell
#!/bin/bash RASP_PI="${1}" sshpass -p ml_pipw ssh -o StrictHostKeyChecking=no "pi@$RASP_PI" /bin/bash <<EOF1 echo "Which port's status would you like to change: 1, 2, or 3? " read port EOF1
程序轰炸无误,并提示用户输入