Question: Type command cat -n CompanyList.txt and execute it. Then please write down the number of lines you can find in the output. Type command grep

 Type command cat -n CompanyList.txt and execute it. Then please write

Type command cat -n CompanyList.txt and execute it. Then please write down the number of lines you can find in the output. Type command grep --color -n 'Atlanta' CompanyList.txt and execute it. Then please describe what does the above grep command do? Type command grep--color -n 'Atlanta|Norcross'CompanyList.txt and execute it. Then please describe what does this grep command do? Type command egrep --color -n 'Atlanta|Norcross' CompanyList.txt and execute it. Then please describe what does the above grep command do? Write the command to count the number of companies located at Atlanta or Norcross by checking file CompanyList.txt. Type command sed -n '/Inc/p' CompanyList.txt and execute it Then please describe what does this command do? And why we need -n option in this command? Use sed to remove the empty lines in CompanyList.txt. Use sed to remove the company number (including the period ', ' after the number) in CompanyList.txt. Use sed to remove the empty lines and the company number (as in question 7) &8)), then save the output to file newCompanyList.txt. Use sed to add text "headquartered in" before the location of company in newCompanyList.txt. E.g. change "Atlanta, GA." to "headquartered in Atlanta, GA

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!