Assignment 3

The file messages.zip is a collection of log files from a Linux server.

Download that file to your system and unzip it.

Write a script that will step through each file and report the number of ssh messages in each file. The output should resemble this:


SSH messages in messages.22: 694
SSH messages in messages.21: 2
SSH messages in messages.24: 0
SSH messages in messages.23: 302
SSH messages in messages.25: 0
SSH messages in messages.27: 0
SSH messages in messages.20: 8391
SSH messages in messages.26: 0

Copyright Clif Flynt 2010