AllInfo
Main: Info Blog Temp Mail


unix 2016-04-10 08-24-54

grep examples


Собирает IP...
grep -E -o "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" <ast.f |awk {'print "-A INPUT -s " $1 "/32 -j DROP"'} |sort -u >>$0.tx

3.15.226.59 / 2024-12-21_18-22-18 UTC.