How can remove duplicates in a file using UNIX?

Answer Posted / j madhava rao

$sort -u filename will sorts the data and removes the duplicates lines from the output

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of interprocessor stage in server jobs?

1723


What are the features of datastage flow designer?

629


AGGREGATOR default datatype

930


Have you used Unstructured data?

826


Explain entity, attribute and relationship in datastage?

629






In Informatica,for the table I can find coreesponding dependent mappings.Likewise can I find the dependent jobs with all the information by using the table name

2004


What are the functionalities of link partitioner?

614


How many areas for files does datastage have?

636


Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC

960


if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?

1755


What are the differences between datastage and informatica?

566


Define project in datastage?

660


tell me 5 situations when we r using oracle db stages like orecle connector, oracle enterprise

2696


how to write server Routine coding?

1659


What are iconv and oconv?

769