Linux - paste

linux

paste file1 file2     // join file1 and file2
paste -d " " file1 file2 file3 // join files and put a space in between
paste -s [-d] file1 file2     // merge consecutive line together.  The number of lines to 
                    // merge together is given in the -d option
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License