[root@xsx ~]# netstat -an|grep -i syn_recv|awk '{print $5}'|awk -F\: '{print $1}'|sort|uniq -c
1 149.56.41.159
grep -i (不区分大小写)
[root@bass Desktop]# grep -i "test" test.txt
this is test
THIS IS TEST 1
this is TEST 2
this is test3
[root@bass Desktop]# grep "test" test.txt
this is test
this is test3