A bin folder, holding helpfull scripts and commands
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

fail2ban-status 175B

12345678
  1. #!/bin/sh
  2. #!/bin/bash
  3. JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'`
  4. for JAIL in $JAILS
  5. do
  6. fail2ban-client status $JAIL
  7. done