PrepAway - Latest Free Exam Questions & Answers

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/Reference:
uniq – remove duplicate lines from a sorted file

wc – wordcount
trim – remove whitespaces
filter is not standard unix filter command


Leave a Reply