Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

List the top five companies in Georgia and save information into file top5List. 3.Output all the companies located at Norcross using grep. 4. Output all

List the top five companies in Georgia and save information into file "top5List".

3.Output all the companies located at Norcross using grep.

4. Output all the companies located at Norcross or Atlanta.

5. Output the number of companies located at Atlanta.

6.Remove the ranking information for each company using sed. First line should be changed to The Home Depot: home improvement; Atlanta, GA.

7. Sort the file by the name of company in descending order.

8. Sort the file by the city name of location on ascending order.

. Open the file "companylist" with vi editor.

1.
image text in transcribed

 




Assume a file named "companyList" containing the Fortune 500 companies set up shop in Georgia. Write the commands for the following tasks. The Home Depot (Ranked 28): home improvement; Atlanta, GA. United Parcel Service (Ranked 48): shipping; Atlanta, GA. The Coca-Cola Company (Ranked 62): soft drinks; Atlanta, GA. Delta Air Lines, Inc. (Ranked 68): airline; Atlanta, GA. Aflac, Incorporated (Ranked 135): insurance; Columbus, GA. The Southern Company (Ranked 162): energy; Atlanta, GA. Genuine Parts Company (Ranked 183): replacement parts; Atlanta, GA. First Data Corporation (Ranked 249): payment processing; Atlanta, GA. WestRock (Ranked 251): corrugated and consumer packaging; Norcross, GA. HD Supply Holdings, Inc. (Ranked 320): industrial distributors; Atlanta, GA. Suntrust Banks, Inc. (Ranked 329): banking; Atlanta, GA. Mohawk Industries, Inc. (Ranked 338): flooring manufacturer; Calhoun, GA. List the top five companies in Georgia and save the information into file "top5List".

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

App Inventor

Authors: David Wolber, Hal Abelson

1st Edition

1449397484, 9781449397487

More Books

Students also viewed these Programming questions