firewall list all configured rules linux code example Example: firewall-cmd status # firewall-cmd --state