Examveda

How do you remove duplicate lines from the file foo using uniq?

A. sort foo | uniq –u

B. sort -u foo | uniq -d

C. sort foo | uniq –c

D. sort foo | uniq –I

Answer: Option A


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux