46:15.27 > b'JEKB1 AUTHENTICATE XOAUTH2'
46:15.57 < b'+ '
46:15.57 write literal size 1584
46:21.21 < b'JEKB1 NO AUTHENTICATE failed.'
46:21.21 NO response: b'AUTHENTICATE failed.'
我输入命令“ ./RJ_APM.sh 1 2 3”,输出为...
echo number of params is... "$#"
#checks to see if the correct amount of params are passed in
if [ "$#" -ne 1 ];then
echo "ERROR: please pass in a ip address"
exit 1
fi
答案 0 :(得分:-1)
它对我有用。.检查SHELL变量是否指向bash
$ echo $SHELL
/bin/bash