Bash True, jeśli Grep ma wyjście
if grep -q PATTERN file.txt; then
echo found
else
echo not found
fi
Blushing Booby
if grep -q PATTERN file.txt; then
echo found
else
echo not found
fi