SHARE
Facebook X Pinterest WhatsApp

The great command line challenge

Written By
DB
David Both
Jul 7, 2015

Your mission, should you accept it, is to create a single command line program to count the number of emails from each IP Address that has attempted to access my hosts using SSH. Download the file to try your hand at that. Be aware that this file contains more than 50,000 lines and is over 6MB in size. And, this is not a task that you would want to tackle by hand. I have changed the domains of the hosts that sent the emails to me, but the IP addresses of the attacking hosts have not been modified.

DB

David Both

Recommended for you...

Germany Puts Microsoft on Five Years Probation for Antitrust Bullying
brideoflinux
Oct 12, 2024
Linus Torvalds Expresses Frustration With Bcachefs Development Process
Senthil Kumar
Oct 7, 2024
Mozilla Thunderbird Lands On Android With New Beta Release
Senthil Kumar
Oct 1, 2024
Tor and Tails Merge to Fight Global Surveillance and Censorship
Bobby Borisov
Sep 26, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.