Jika perintah memiliki output bash
if [[ $(find . -type f -iname \*.exe -exec echo {} \;
) ]]; then
echo "found $(find . -type f -iname \*exe -exec echo {} \; | wc -l
) files "
else
echo "no files found"
fi
FalkenE