uniq Flashcards
1
Q
-u
A
Selecting the Nonrepeated Lines (-u)
The -u option selects the unique lines in input—lines that are not repeated:
2
Q
-d
A
Selecting the Duplicate Lines (-d)
The -d (duplicate) option selects only one copy of the repeated lines:
3
Q
-c
A
Counting Frequency of Occurrence (-c)
The -c (count) option displays the frequency of occurrence of all lines, along with the lines: