9 行
175 B
Bash
可执行文件
9 行
175 B
Bash
可执行文件
#!/bin/sh
|
|
#!/bin/bash
|
|
|
|
JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'`
|
|
for JAIL in $JAILS
|
|
do
|
|
fail2ban-client status $JAIL
|
|
done
|