< Browse > Home / Linux / Blog article: How To Find duplicate IP

| RSS

How To Find duplicate IP

May 18th, 2009 Posted in Linux

To find duplicate IP, you can create a text file and putting all the IP addresses into it and seperate them with line break.

eg:

Create a text file called ip.txt
[root@www ~]# touch ip.txt

Put all the ip into the file and save it
[root@www ~]# vi ip.txt

192.168.1.22
192.167.1.22
192.168.1.23
192.168.1.23
192.168.1.70
192.168.1.88
192.168.1.89
192.168.1.40
192.168.1.63
192.168.1.77
192.168.1.79
192.168.1.78
192.168.1.11
192.168.1.82
192.168.1.24
192.168.1.91
192.168.1.64
192.168.1.94
192.168.1.21
192.168.1.96
192.168.1.95
192.168.1.69
“ip.txt” 138 lines, 2138 characters

Execute below command to find the duplicate ip
[root@www ~]# sort ip.txt | uniq -d

#It will display all the duplicate IP
192.168.1.22

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • MySpace
  • Twitter
Related Posts
  • No Related Posts
Follow Discussion

View Comments to “How To Find duplicate IP”

  1. qorel Says:

    sory…can i know this steps is for what???
    or this steps for make our IP always randoms automaticly??

  2. qorel Says:

    sory…can i know this steps is for what???
    or this steps for make our IP always randoms automaticly??

  3. chenhow Says:

    This show you the command to find duplicate IP.

  4. chenhow Says:

    This show you the command to find duplicate IP.

  5. qorel Says:

    sory…can i know this steps is for what???
    or this steps for make our IP always randoms automaticly??

  6. chenhow Says:

    This show you the command to find duplicate IP.

Leave a Reply

blog comments powered by Disqus

World Vision / WWF

World Vision
One Life - Do Something
I support WWF

Subscribe

Follow Me Twitter Follow Me Friendfeed Subscribe RSS to receive content updates in your favorate reader
Follow Me Facebook Follow Me LinkedIn
RSS Subscribe in a reader
RSS Or, subscribe via email:
     

Recent Post

    • [Centos] Kickstart (Unattended) Linux OS installation
    • Singtel Iphone 4 Launching Date
    • Create Bootable USB Drive For Centos Installation
    • PC Server For Research
    • I’m Back Again

Popular Post