systemctl status fail2ban

Category: Security & Hardening

systemctl status fail2ban

Show fail2ban service status and recent log entries

Displays whether the fail2ban daemon is active, its uptime, and the last few journal lines. Check this when bans are not appearing or the service failed to start. Related: journalctl -u fail2ban -f for a live log stream.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.