标签: bash
我一直在尝试修复错误 即使变量不是命令,错误也会显示“找不到您的输入命令”
#/bin/bash echo "Hello, World!!" echo "Press enter to exit." read your_input if [your_input == ""] then echo "Bye!!" else echo "You typed $your_input anyway. Bye!!" fi