I have tried to get the 2 files output in a single file.  I have tried below command:cat file1 file2but here file2 data is appending to file1.What I need is file1 1st line followed by file2 first line, and file1 second line followed by file2 second line etc.Can anybody tell me how to do this in a simple way?
How to interleave the lines of two or more files?
text processing;cat;paste