SilkyFalcon

Generation

linuxFri, 25 Nov 2022

Block country by 1st agument and check if command has argument

if [ $# -eq 0 ] then echo "not argument" exit 1 fi # block country by using iptables iptables -I INPUT -s $1 -j DROP

Questions about programming?Chat with your personal AI assistant