Search Results

Search: Posts Made By: rcbarr2014
5,169
Posted By rcbarr2014
Ok, so here is the deal, I have 179 entries in...
Ok, so here is the deal, I have 179 entries in file1 and I have 118875 entries in file2.

If I do this:

cat file2 | grep -i <entry from file1>, it returns a match
server,ip address, fqdn

The...
5,169
Posted By rcbarr2014
Hey Don, so if I have a match, I want to echo out...
Hey Don, so if I have a match, I want to echo out the matching item in File2, example

File1/Item1 = donsServer

File2/Item 5444 = donsServer,192.168.1.44,donesServer.svr.us.domain.com

how...
5,169
Posted By rcbarr2014
BASH - Compare 2 Files, Output All Matches
This is probably rehash but I did look. :rolleyes:

I want a bash script that will take Item 1 in File1, traverse all lines in File2 and output if a match exists. Continuing the pattern...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 09:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy