Simple merging two files with paste command

Today I learned something new!

I had two files one with a list of domain names, the other with corresponding IPs. I needed to merge these two files to display domain names next to their corresponding IPs.

It looks like it`s the simplest task with the command paste.

All I had to do is: paste /tmp/domain_names /tmp/IPs

Thanks Igor for the tip 🙂

Leave a Reply