test2
C
code posted
created at 14 Nov 18:30
Edit
|
Back
1 2 3 4 5 6 7 |
#!/bin/bash # Check the status of the Fail2Ban jails JAILS=$(fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g') for JAIL in $JAILS do fail2ban-client status "$JAIL" done |
215 Bytes in 2 ms with coderay