linux firewall cmd status code example Example 1: firewall-cmd status # firewall-cmd --state Example 2: command to reload firewalld sudo firewall-cmd --reload