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

Want to kickstart your project?Use the new AI Studio to create your code