Question: Hint: The method for working on this project is one step at a time. Get wget working, then focus on reading the file line by

 Hint: The method for working on this project is one step

Hint: The method for working on this project is one step at a time. Get wget working, then focus on reading the file line by line, next figure out how to add the line number. Once those steps are complete begin looking at the cut example and command. That will get you the 3rd column or the age, then do the arithmetic and from there you can find the average age.

For this assignment, your bash script will need to do a few things. 1. connect using wget to download the personfile.txt from ftp://10.60.168.126/pub the user will be anonymous. 2. Your script will then need to read and display the contents of the file line by line 3. Add a line number to each line 4. Calculate the average of the people in the file. For this assignment, your bash script will need to do a few things. 1. connect using wget to download the personfile.txt from ftp://10.60.168.126/pub the user will be anonymous. 2. Your script will then need to read and display the contents of the file line by line 3. Add a line number to each line 4. Calculate the average of the people in the file

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!