uniq

Output the unique lines from the given input or file.…

uniq

Output the unique lines from the given input or file. Since it does not detect repeated lines unless they are adjacent, we need to sort them first.

sort {{file}} | uniq

sort {{file}} | uniq -u

sort {{file}} | uniq -d

sort {{file}} | uniq -c

sort {{file}} | uniq -c | sort -nr

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← unflatten unison →