sudo fail2ban-client status | grep 'Jail list'

Category: VPS Management

sudo fail2ban-client status | grep 'Jail list'

List which fail2ban jails are active

The plain status command prints one summary block per jail plus a 'Jail list:' line naming every enabled jail (sshd, nginx-http-auth, and so on). Grepping for that line gives a compact overview of what fail2ban is actually protecting. A jail missing from the list means its config did not load.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.