I would like to have the echo command executed when cat /etc/passwd | grep \"sysa\" is not true.
echo
cat /etc/passwd | grep \"sysa\"
What am I doing wrong?
if
This one
if [[ ! $(cat /etc/passwd | grep "sysa") ]] Then echo " something" exit 2 fi