不会提示用户输入bash

时间:2018-11-06 16:40:25

标签: 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

程序轰炸无误,并提示用户输入

0 个答案:

没有答案