Linux/uniq

From Omnia
Revision as of 02:25, 23 January 2019 by Kenneth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

List unique line items

cat file | uniq


Show duplicate line items only

cat file | uniq -d

Show counts of line items

cat file | uniq -c