Question: I need help with this scripting lab - It should be done on linux terminal using bash scripting.. please help with and explain what you
I need help with this scripting lab - It should be done on linux terminal using bash scripting.. please help with and explain what you can .

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
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
Get step-by-step solutions from verified subject matter experts
