Sort/Uniq
Revision as of 17:27, 31 May 2019 by Hdridder (talk | contribs) (Created page with "Category:Linux/Unix ;sort <filename> ;cat <filename>|sort :Print the content of <filename> sorted. ;sort -u :Sort and print all unique values ;uniq -d :Print all values...")
- sort <filename>
- cat <filename>|sort
- Print the content of <filename> sorted.
- sort -u
- Sort and print all unique values
- uniq -d
- Print all values that exist more than once
- uniq -D
- Print all lines with duplicate values