Print all duplicated lines in a file #linux #awk #text processing #How to print all duplicated lines in some text file? Let me introduce awk again:< input.txt awk 'foo[$0]++'