Question: Linux RedHat : sed Only Copy the file https://pastebin.com/UwaAkLit File Name : continents to your current directory. The file continents has a header line and

Linux RedHat : sed Only

Copy the file https://pastebin.com/UwaAkLit File Name : continents

to your current directory. The file continents has a header line and an ending line of text. In between are lines about the 7 continents, where each line has 3 fields, with : as the delimiter.

Do the equivalence of: egrep America continents

Do the equivalence of: wc l lab3in | cut -f1 -d' ' (1 space between single quotes)

Do the equivalence of: tail -4 lab3in | head -2

Print the file continents, but with the numbers printed in the International System (SI) format.

English format: 2,001,000.50 SI format: 2 001 000,50

Print the file with all lines indented by 2 tabs

Print only the lines with the continent data, but with the population density of Antarctica changed to 20

Print the file with the 3 input fields in reverse order: field 3, then field 2, then field1. The reversed output fields should be separated by a tab

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!