Question: I need help with this bash Scripting lab.. please help with you what you can and try to explain what you can.. I'm struggling with

I need help with this bash Scripting lab.. please help with you what you can and try to explain what you can.. I'm struggling with learning this, and i dont know of any good resources to learn.

I need help with this bash Scripting lab.. please help with you

what you can and try to explain what you can.. I'm struggling

CS 3030 Scripting Languages Lab 3: Failed Login Report Introduction Lab 3 is an opportunity to use UNIX/Linux commandline tools sed, sort, uniq and printf to search a logfile using regular expressions, count the number of occumences and print an simple report in HTML format. Requirements Your script shall be named n/cs3030/lab3/flog and be marked executable. Here is how you execute your script: ./flog LOGFILE Your script shall search LOGFILE for all lines containing this string: "Failed password for USERID" where USERID is either the name of a user orthe word "invalid". You are to perform the following operations Change the word "invalid" to Count the number of every failed password messages for each user (including and
Print Usage flog LOGFILE and exit with return code 1 ifthe user does not specify a LOGFILE When your script is working, test it with the provided sample logfile ./flog /var/classes/cs3030/lab3/secure Your output should look like this

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!