Solution merge two files append two files in Linux

Solution merge two files append two files in Linux


Code:
cat file1 file2 .. fileN > mergedfile
Note the > in the command: it points that the target file follows, dont forget to put it there.

Advance:
 
If you accept that entries in the resulting file are sorted, you can use uniq to remove duplicates.

Code:
cat file1 file2 | sort | uniq > mergedfile

download file now

Comments

Popular posts from this blog

Spider Man Friend Or Foe ISO Free Download PPSSPP Setting

Sorry Mutter closed unexpectedly on Ubuntu 10 10

Solution Ubuntu 10 04 minimize maximize and close button to right