install firewall on linux code example Example: firewall linux $ sudo firewall-cmd --get-active-zones