If I have this variable-length text file containing a record such as:
newone:batam elf: *:newone:
marlin:shark:marlin
muni:
My quest is What Linux command can I use to find duplicate words in a stream of records, and display those lines on the screen?
I cannot find such command anywhere except those that show how to find files.
Thank you anyone for your help !!!