How do I get this commend to display the number of occurances if the ips in order?
cat domain.com | awk {'print $1'} | uniq -c
4 69.6.129.15
1 207.91.154.86
1 69.6.129.15
2 207.91.154.86
1 24.81.86.192
9 207.91.154.86
1 67.70.56.142
1 148.235.92.153
13 207.91.154.86
1 80.60.193.189
5 207.91.154.86
1 82.50.96.121
4 207.91.154.86
I want it to display it like:
13 207.91.154.86
9 207.91.154.86
5 207.91.154.86
4 69.6.129.15
4 207.91.154.86
1 207.91.154.86
2 207.91.154.86
1 69.6.129.15
1 24.81.86.192
1 67.70.56.142
1 148.235.92.153
1 80.60.193.189
1 82.50.96.121
What is the correct commend for that?
cat domain.com | awk {'print $1'} | uniq -c
4 69.6.129.15
1 207.91.154.86
1 69.6.129.15
2 207.91.154.86
1 24.81.86.192
9 207.91.154.86
1 67.70.56.142
1 148.235.92.153
13 207.91.154.86
1 80.60.193.189
5 207.91.154.86
1 82.50.96.121
4 207.91.154.86
I want it to display it like:
13 207.91.154.86
9 207.91.154.86
5 207.91.154.86
4 69.6.129.15
4 207.91.154.86
1 207.91.154.86
2 207.91.154.86
1 69.6.129.15
1 24.81.86.192
1 67.70.56.142
1 148.235.92.153
1 80.60.193.189
1 82.50.96.121
What is the correct commend for that?