Skip to main content

Check Command Exists


if which iptables-save >/dev/null 2>&1; then
    echo "exists"
else
    echo "empty"
fi