How to merge two files line by line in Bash

You can use paste:

paste file1.txt file2.txt > fileresults.txt

Leave a Comment