How to Search For IP Addresses in a Log File
In this article I’ll show you how to use the grep command to search for IP addresses in a log file. You can pipe the output of grep through uniq to find counts for each IP address. In this example, two IP addresses were found 42 times, and the second …
