에러날 확률이 높음 if [ X`cmd ...` != X ] ; then 다음과 같이 수정 if [ X"`cmd ...`" != X ] ; then or if [ X"`cmd ...`" != "X" ] ; then EOF