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

linux please hlp me linux please hlp me Create a script where the script reads t

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

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!