19 July 2015

Sort

Sorts lines alfabetically With -u or | uniq, removes repeated lines

cp file1 copia && sort -u copia > file1 && rm copia

sort file1 file2 | uniq > file3