What command will remove duplicate lines from a sorted file?
A.
filter
B.
trim
C.
uniq
D.
wc
Explanation/Reference:
uniq – remove duplicate lines from a sorted filewc – wordcount
trim – remove whitespaces
filter is not standard unix filter command