Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Multiple occurance of file

$
0
0
Hi all,
I have file structure as file.log
Code:

84t-rw-r--r-- 1 emily04 us_cms 24492717 Oct  5 13:29 vgtree_84_1_K3L.root
85t-rw-r--r-- 1 emily04 us_cms 50410380 Oct  5 16:06 vgtree_85_1_uZv.root
85t-rw-r--r-- 1 emily04 us_cms 50567380 Oct  5 16:06 vgtree_85_1_hjv.root
86t-rw-r--r-- 1 emily04 us_cms 29777963 Oct  5 13:28 vgtree_86_1_YzK.root
87t-rw-r--r-- 1 emily04 us_cms 25127236 Oct  5 12:37 vgtree_87_1_8Fq.root
87t-rw-r--r-- 1 emily04 us_cms 98712736 Oct  5 12:37 vgtree_87_1_ukj.root
87t-rw-r--r-- 1 emily04 us_cms 25987236 Oct  5 12:37 vgtree_87_1_okh.root
88t-rw-r--r-- 1 emily04 us_cms 47853471 Oct  5 13:46 vgtree_88_1_EGK.root

For me I would like to have the output of the duplicates, in the given file. The duplicates are
Code:

85t-rw-r--r-- 1 emily04 us_cms 50410380 Oct  5 16:06 vgtree_85_1_uZv.root
85t-rw-r--r-- 1 emily04 us_cms 50567380 Oct  5 16:06 vgtree_85_1_hjv.root
87t-rw-r--r-- 1 emily04 us_cms 25127236 Oct  5 12:37 vgtree_87_1_8Fq.root
87t-rw-r--r-- 1 emily04 us_cms 98712736 Oct  5 12:37 vgtree_87_1_ukj.root
87t-rw-r--r-- 1 emily04 us_cms 25987236 Oct  5 12:37 vgtree_87_1_okh.root


Thanks
emily

Viewing all articles
Browse latest Browse all 16232

Trending Articles