1st commit
This commit is contained in:
14
f2b-statusall.sh
Normal file
14
f2b-statusall.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This file is part of a collection of bash scripts written and used by me which may be handy in server administration.
|
||||
#
|
||||
# (c) Corrado Mulas <tlc@mulas.me>
|
||||
#
|
||||
# For the full copyright and license information, please view the LICENSE
|
||||
# file that was distributed with this source code.
|
||||
|
||||
JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'`
|
||||
for JAIL in $JAILS
|
||||
do
|
||||
printf "\r\n\n\n"; fail2ban-client status $JAIL
|
||||
done
|
||||
Reference in New Issue
Block a user