1、 -bash: [: too many arguments
[root@ceph-104 home]# if [ $count eq 0 ]; then echo 'Not found ' ${PROCESS} 'process!'; exit 0; fi -bash: [: too many arguments
原因是shell 变量匹配 需要将$count 修改成 "$count "