Search Results

Search: Posts Made By: CPP_code
4,182
Posted By CPP_code
I gave the patterns I would like to search for: ...
I gave the patterns I would like to search for:

pattern1 = "config router id x.x.x.x"
pattern2 = "interface passive x.x.x.x"
pattern3 = "x.x.x.x 255.255.255.255 area"

The desired output is: ...
4,182
Posted By CPP_code
Grep AND
Hello all,

I have many files in a directory and I'm trying to read each file in the directory, search for four patterns and return the name of the file only if it contains each of the 4 patterns....
Showing results 1 to 2 of 2

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