test

test 1 -eq 2 &&echo ok||echo not

test $1 -eq $2 && **||**

原文地址:https://www.cnblogs.com/hanxing/p/4252458.html