Question: linux please hlp me Create a script where the script reads t e existing custom environment variable SCCDEVINFO (created with 'export SCCDEVINFO=value' which you will
Create a script where the script reads t e existing custom environment variable SCCDEVINFO (created with 'export SCCDEVINFO=value' which you will need to create to demostrate the script), which will contain the full path to a file. Each line in the file will be the full path to an existing file, so loop through the file and read each line one at a time and count the number of times a file contains the word ERROR (hint use 'wc' command to help with counting) and output the total number of errors at the end of the script. 8:18 am
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
