How to merge two files line by line in Bash October 15, 2022 by Tarik You can use paste: paste file1.txt file2.txt > fileresults.txt