Bash, wenn nicht
if ! [ $(cat /etc/passwd | grep "sysa") ]; then
echo "ERROR - The user sysa could not be looked up"
exit 2
fi
Distinct Dogfish
if ! [ $(cat /etc/passwd | grep "sysa") ]; then
echo "ERROR - The user sysa could not be looked up"
exit 2
fi
if [[a != b]]; then
echo "a is not b"
else
echo "a is the same as b"
fi