Unix/Linux Go Back    



Extract common data out of multiple files

UNIX for Dummies Questions & Answers




Kindly Note - This is a Single User Post by Forum Member RudiC Regarding:
Extract common data out of multiple files.
Please Follow The Primary Link Above to View the Full Discussion.

   
Old Unix and Linux 12-24-2012   -   Original Discussion by macmath
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 18 November 2017, 12:12 PM EST
Location: Aachen, Germany
Posts: 11,622
Thanks: 320
Thanked 3,615 Times in 3,320 Posts
Try this
Code:
$ cat file?|sort|uniq -c|sort -rnb|grep "^ *3"| cut -d" " -f8-30
Rickettsiella grylli
Pseudomonas stutzeri A1501
Aeromonas caviae Ae398