I know, the title is not clear. I have 2 files, in one of this I have some values and I need to find them in another file. Instead to grep for each single value, I would use the first file to do lookup in the second filei.e.File 1ns1.cloudns.net. -17554 IN A 85.159.233.17ns1.cloudns.net. -17554 IN AAAA 2a00:1768:1001:9::1www.alweya.com. -335336 IN A 192.69.217.246File 2alweya.comOutout - File 1 contains www.alweya.com
Find values in a file from another file
grep;diff