

MCQOPTIONS
Saved Bookmarks
1. |
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» B. sort -u foo | uniq -d | |