if [[ -n '/tmp/testfile' ]] && [[ `wc -l /tmp/testfile` -le 10 ]];then head -3 /tmp/testfile fi
if [[ -f '/tmp/testfile' ]] && [[ `wc -l /tmp/testfile` -le 10 ]];then head -3 /tmp/testfile fi
if [[ -n '/tmp/testfile' ]] || [[ `wc -l /tmp/testfile` -le 10 ]];then head -3 /tmp/testfile fi
if [[ -f '/tmp/testfile' ]] || [[ `wc -l /tmp/testfile` -le 10 ]];then head -3 /tmp/testfile fi