echo please input “runbip” to run bip. variableName="null" while [ $variableName != "runbip" ] do read variableName sleep 1 if [ $variableName != "runbip" ]; then echo please input “runbip” to run the BIP: fi done
参考:
1. Linux Shell编程入门 http://www.cnblogs.com/suyang/archive/2008/05/18/1201990.html