Blog Archive

Friday, February 18, 2011

how to extract Samliar or Duplicate contents in unix/linux

cat file | sort | uniq -d
# note: "d" means it will only return records which were duplicates.

No comments:

Post a Comment