Command/Script to remove duplicate lines from the file?

Hello,
Can anyone tell Command/Script to remove duplicate lines from the file?

Try this :

$ sort -u yourfile

Hi
do search in .... man uniq

Thanks