LPI Exam Questions

What command will remove duplicate lines from a sorted file?

What command will remove duplicate lines from a sorted file?

A.
filter

B.
trim

C.
uniq

D.
wc

Explanation:
uniq – remove duplicate lines from a sorted file