IPv4:
ip -4 a | grep global | sed 's/\/.*//g' | awk '{print $2}'
IPv6:
ip -6 a | grep global | sed 's/\/.*//g' | awk '{print $2}'
for I in $(seq 2 254); do nmcli con mod eth0 +ipv4.addresses 192.168.0.${I}; done
nmcli con up eth0
perl -pe 's/([\d]{10})/localtime $1/eg;'
cat access.log | perl -pe 's/([\d]{10})/localtime $1/eg;'
cat iplist.txt | cut -d '.' -f 1-3 | sort -n | uniq
cat access.log | awk '$5 >= 1000000 && $5 < 2000000 {print ;}'
cat access.log | grep TCP_MISS | awk '$7 == 200 {print ;}'