I am parsing a log file and I wanted to filter only lines that appear more than 10 times within the file. I just can not find a way to do this filter.
You will use the following command:
sort SeuArquivo | uniq -c
If you still want to sort by the number of occurrences use:
sort SeuArquivo | uniq -c | sort -nr