1 2 3
#! /usr/bin/env sh # Get jail names: sudo fail2ban-client status fail2ban-client set $1 banip $2