firewalld list ports redhat 8 code example Example: firewalld list ports redbat 8 # firewall-cmd --list-all