Question: write a program using perl called mylogcheck, to perform the following three tasks: Task 1 With a - c option and the intended class of
write a program using perl called mylogcheck, to perform the following three
tasks:
Task
With a c option and the intended class of IP addresses, your script should display all the login records that belong to the intended IP class;
Task
With a u option and the intended loginID your script should display all the login records for that particular loginID and the total time that particular user spent on the system;
The testing file and the sample runs of your script are in the pictures
must be in perl and it has to work all the command and the total time that particular user spent on the system must work for me thanks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
