Find duplicate lines in a file and count how many time each line was duplicated? Suppose I have a file similar to the following: 123 123 234 234 123 345 I would like to find how many times ‘123’ was duplicated, how many times... April 29, 2022 0 Comments