The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 01-29-2008
za_7565 za_7565 is offline
Registered User
  
 

Join Date: Nov 2007
Location: ON, Canada
Posts: 16
Excellent !! you guys are the best helpers.

A quick ?, how can I get rid of the duplicate entries: This is what I have now;
unixsrv1
unixsrv1
.
.
.
unixsrv1 (20 entries)
same for the other hosts.

I ran the following command but no luck!
# cat file | sort | uniq -d

Thanks again guys.