Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

8. Providing support during instruction.

Answered: 1 week ago