I had already grepped with the -v option (it works partially. redirecting with a >> gives me the output of all the greps. I need a consolidated file which has the IPs listed in the list file removed in the final file.
Thanks for the quick replies guys!!
Regards
Srini
Hi
I am trying to write a script that will
1. Get the Web log for today
2. Give me a list of all the IP addresses that have accessed the web server today
3. Remove a list of known IPs listed in a file (line by line)
4. Mail the final file to selected recipients.
I am unable to do part 3. In...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.