how to pick distinct records..........

How can i pick distinct records which consists of duplicate data from a ASCII file using UNIX commands

Try uniq command.

first u need to sort the file and use the uniq command to get the correct lines
without any duplicates
sort the file and use the uniq command

Use 'sort -u' if your file isn't already sorted.