Linux Search Pattern Question: Download Questions 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
Answer:
a) sort foo | uniq -u
Download Search Pattern Interview Questions And Answers
PDF