I have 2 files, each file has one column with multiple rows and the rows of each file are the same. How can I join the 2 files' columns together so that the final result file has two columns coming from file1 and file2?
For example, file1 is:
1
2
3
and file2 is:
a
b
c
and the expected output is:
1 a
2 b
3 c
Just use the paste command. Use it like this : paste file1 file2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With