Linux Search Pattern Question: Download Search Pattern PDF

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

Tweet Share WhatsApp