Skip to main content

Check Command Exists


if which iptables-save >/dev/null 2>&1; then
    echo "iptables-save is installed"
else
    echo "iptables-save is NOT installed"
fi