SlideShare a Scribd company logo
Linux using PuTTY
Using the following data file (delimited by a space or tab) named (section9.4.input)
November 400
January 200
June 400
March 200
April 200
May 300
July 400
August 300
September 400
February 300
October 300
December 200
Write a script named (section9.4.sh) that will use a loop structure to process the data file line by
line. The script will send the output to file (section9.4.out) in the following format:
Month Sales
-------- -------
January 200
February 300
March 200
April 200
May 300
June 400
July 400
August 300
September 400
October 300
November 400
December 200
======
Total show the total
Average show the average

More Related Content

More from atexsalem

List and describe three physiographic regions of North America- List a.pdf
List and describe three physiographic regions of North America- List a.pdfList and describe three physiographic regions of North America- List a.pdf
List and describe three physiographic regions of North America- List a.pdf
atexsalem
 
Liquefaction of sand could occur because of earthquakes- For simplicit.pdf
Liquefaction of sand could occur because of earthquakes- For simplicit.pdfLiquefaction of sand could occur because of earthquakes- For simplicit.pdf
Liquefaction of sand could occur because of earthquakes- For simplicit.pdf
atexsalem
 
Linux Ubuntu Write a shell script that reads in a list of email addres.pdf
Linux Ubuntu Write a shell script that reads in a list of email addres.pdfLinux Ubuntu Write a shell script that reads in a list of email addres.pdf
Linux Ubuntu Write a shell script that reads in a list of email addres.pdf
atexsalem
 
linux V- Write a shell script to create 50 sub-directories in the curr.pdf
linux V- Write a shell script to create 50 sub-directories in the curr.pdflinux V- Write a shell script to create 50 sub-directories in the curr.pdf
linux V- Write a shell script to create 50 sub-directories in the curr.pdf
atexsalem
 
Liberal Studies Competency 3- Analyze and interpret research using app.pdf
Liberal Studies Competency 3- Analyze and interpret research using app.pdfLiberal Studies Competency 3- Analyze and interpret research using app.pdf
Liberal Studies Competency 3- Analyze and interpret research using app.pdf
atexsalem
 
Line Spectra and Doppler Shifts One way that astronomers detect exopla.pdf
Line Spectra and Doppler Shifts One way that astronomers detect exopla.pdfLine Spectra and Doppler Shifts One way that astronomers detect exopla.pdf
Line Spectra and Doppler Shifts One way that astronomers detect exopla.pdf
atexsalem
 
Linux Lingo- You may have noticed by now that Linux has a lot of unusu.pdf
Linux Lingo- You may have noticed by now that Linux has a lot of unusu.pdfLinux Lingo- You may have noticed by now that Linux has a lot of unusu.pdf
Linux Lingo- You may have noticed by now that Linux has a lot of unusu.pdf
atexsalem
 
linux explain the program execution results to answer the questions- (.pdf
linux explain the program execution results to answer the questions- (.pdflinux explain the program execution results to answer the questions- (.pdf
linux explain the program execution results to answer the questions- (.pdf
atexsalem
 
Lindsay has atherosclerosis- While hypertension can casse atherosclero.pdf
Lindsay has atherosclerosis- While hypertension can casse atherosclero.pdfLindsay has atherosclerosis- While hypertension can casse atherosclero.pdf
Lindsay has atherosclerosis- While hypertension can casse atherosclero.pdf
atexsalem
 
Linda is concerned about the cost of career training- What financial r.pdf
Linda is concerned about the cost of career training- What financial r.pdfLinda is concerned about the cost of career training- What financial r.pdf
Linda is concerned about the cost of career training- What financial r.pdf
atexsalem
 
Lime- Body regions 1-7 of a developing fruit fly all have the Hox gene.pdf
Lime- Body regions 1-7 of a developing fruit fly all have the Hox gene.pdfLime- Body regions 1-7 of a developing fruit fly all have the Hox gene.pdf
Lime- Body regions 1-7 of a developing fruit fly all have the Hox gene.pdf
atexsalem
 
Lightning is a giant spark of electricity in the atmosphere between cl.pdf
Lightning is a giant spark of electricity in the atmosphere between cl.pdfLightning is a giant spark of electricity in the atmosphere between cl.pdf
Lightning is a giant spark of electricity in the atmosphere between cl.pdf
atexsalem
 
Lifting Mechanisms In each available text box below- indicate the corr.pdf
Lifting Mechanisms In each available text box below- indicate the corr.pdfLifting Mechanisms In each available text box below- indicate the corr.pdf
Lifting Mechanisms In each available text box below- indicate the corr.pdf
atexsalem
 
Life expectancy for most of human history was around 30-40 years- larg.pdf
Life expectancy for most of human history was around 30-40 years- larg.pdfLife expectancy for most of human history was around 30-40 years- larg.pdf
Life expectancy for most of human history was around 30-40 years- larg.pdf
atexsalem
 
Liabilities - assets + owners equity True False.pdf
Liabilities - assets + owners equity True False.pdfLiabilities - assets + owners equity True False.pdf
Liabilities - assets + owners equity True False.pdf
atexsalem
 
Lewis- age 26- and Oneida- age 25- are married and will file a joint r.pdf
Lewis- age 26- and Oneida- age 25- are married and will file a joint r.pdfLewis- age 26- and Oneida- age 25- are married and will file a joint r.pdf
Lewis- age 26- and Oneida- age 25- are married and will file a joint r.pdf
atexsalem
 
Let's take a moment to reflect how far you've come and all that you've.pdf
Let's take a moment to reflect how far you've come and all that you've.pdfLet's take a moment to reflect how far you've come and all that you've.pdf
Let's take a moment to reflect how far you've come and all that you've.pdf
atexsalem
 
Let- X be a continuous random variable and M be the median- Which of t.pdf
Let- X be a continuous random variable and M be the median- Which of t.pdfLet- X be a continuous random variable and M be the median- Which of t.pdf
Let- X be a continuous random variable and M be the median- Which of t.pdf
atexsalem
 
Let's say the absorbance value of 10 mL ONP solution of unknown concen.pdf
Let's say the absorbance value of 10 mL ONP solution of unknown concen.pdfLet's say the absorbance value of 10 mL ONP solution of unknown concen.pdf
Let's say the absorbance value of 10 mL ONP solution of unknown concen.pdf
atexsalem
 
leu- bacteria are mixest in a flask with and leut bacteria- and soon a.pdf
leu- bacteria are mixest in a flask with and leut bacteria- and soon a.pdfleu- bacteria are mixest in a flask with and leut bacteria- and soon a.pdf
leu- bacteria are mixest in a flask with and leut bacteria- and soon a.pdf
atexsalem
 

More from atexsalem (20)

List and describe three physiographic regions of North America- List a.pdf
List and describe three physiographic regions of North America- List a.pdfList and describe three physiographic regions of North America- List a.pdf
List and describe three physiographic regions of North America- List a.pdf
 
Liquefaction of sand could occur because of earthquakes- For simplicit.pdf
Liquefaction of sand could occur because of earthquakes- For simplicit.pdfLiquefaction of sand could occur because of earthquakes- For simplicit.pdf
Liquefaction of sand could occur because of earthquakes- For simplicit.pdf
 
Linux Ubuntu Write a shell script that reads in a list of email addres.pdf
Linux Ubuntu Write a shell script that reads in a list of email addres.pdfLinux Ubuntu Write a shell script that reads in a list of email addres.pdf
Linux Ubuntu Write a shell script that reads in a list of email addres.pdf
 
linux V- Write a shell script to create 50 sub-directories in the curr.pdf
linux V- Write a shell script to create 50 sub-directories in the curr.pdflinux V- Write a shell script to create 50 sub-directories in the curr.pdf
linux V- Write a shell script to create 50 sub-directories in the curr.pdf
 
Liberal Studies Competency 3- Analyze and interpret research using app.pdf
Liberal Studies Competency 3- Analyze and interpret research using app.pdfLiberal Studies Competency 3- Analyze and interpret research using app.pdf
Liberal Studies Competency 3- Analyze and interpret research using app.pdf
 
Line Spectra and Doppler Shifts One way that astronomers detect exopla.pdf
Line Spectra and Doppler Shifts One way that astronomers detect exopla.pdfLine Spectra and Doppler Shifts One way that astronomers detect exopla.pdf
Line Spectra and Doppler Shifts One way that astronomers detect exopla.pdf
 
Linux Lingo- You may have noticed by now that Linux has a lot of unusu.pdf
Linux Lingo- You may have noticed by now that Linux has a lot of unusu.pdfLinux Lingo- You may have noticed by now that Linux has a lot of unusu.pdf
Linux Lingo- You may have noticed by now that Linux has a lot of unusu.pdf
 
linux explain the program execution results to answer the questions- (.pdf
linux explain the program execution results to answer the questions- (.pdflinux explain the program execution results to answer the questions- (.pdf
linux explain the program execution results to answer the questions- (.pdf
 
Lindsay has atherosclerosis- While hypertension can casse atherosclero.pdf
Lindsay has atherosclerosis- While hypertension can casse atherosclero.pdfLindsay has atherosclerosis- While hypertension can casse atherosclero.pdf
Lindsay has atherosclerosis- While hypertension can casse atherosclero.pdf
 
Linda is concerned about the cost of career training- What financial r.pdf
Linda is concerned about the cost of career training- What financial r.pdfLinda is concerned about the cost of career training- What financial r.pdf
Linda is concerned about the cost of career training- What financial r.pdf
 
Lime- Body regions 1-7 of a developing fruit fly all have the Hox gene.pdf
Lime- Body regions 1-7 of a developing fruit fly all have the Hox gene.pdfLime- Body regions 1-7 of a developing fruit fly all have the Hox gene.pdf
Lime- Body regions 1-7 of a developing fruit fly all have the Hox gene.pdf
 
Lightning is a giant spark of electricity in the atmosphere between cl.pdf
Lightning is a giant spark of electricity in the atmosphere between cl.pdfLightning is a giant spark of electricity in the atmosphere between cl.pdf
Lightning is a giant spark of electricity in the atmosphere between cl.pdf
 
Lifting Mechanisms In each available text box below- indicate the corr.pdf
Lifting Mechanisms In each available text box below- indicate the corr.pdfLifting Mechanisms In each available text box below- indicate the corr.pdf
Lifting Mechanisms In each available text box below- indicate the corr.pdf
 
Life expectancy for most of human history was around 30-40 years- larg.pdf
Life expectancy for most of human history was around 30-40 years- larg.pdfLife expectancy for most of human history was around 30-40 years- larg.pdf
Life expectancy for most of human history was around 30-40 years- larg.pdf
 
Liabilities - assets + owners equity True False.pdf
Liabilities - assets + owners equity True False.pdfLiabilities - assets + owners equity True False.pdf
Liabilities - assets + owners equity True False.pdf
 
Lewis- age 26- and Oneida- age 25- are married and will file a joint r.pdf
Lewis- age 26- and Oneida- age 25- are married and will file a joint r.pdfLewis- age 26- and Oneida- age 25- are married and will file a joint r.pdf
Lewis- age 26- and Oneida- age 25- are married and will file a joint r.pdf
 
Let's take a moment to reflect how far you've come and all that you've.pdf
Let's take a moment to reflect how far you've come and all that you've.pdfLet's take a moment to reflect how far you've come and all that you've.pdf
Let's take a moment to reflect how far you've come and all that you've.pdf
 
Let- X be a continuous random variable and M be the median- Which of t.pdf
Let- X be a continuous random variable and M be the median- Which of t.pdfLet- X be a continuous random variable and M be the median- Which of t.pdf
Let- X be a continuous random variable and M be the median- Which of t.pdf
 
Let's say the absorbance value of 10 mL ONP solution of unknown concen.pdf
Let's say the absorbance value of 10 mL ONP solution of unknown concen.pdfLet's say the absorbance value of 10 mL ONP solution of unknown concen.pdf
Let's say the absorbance value of 10 mL ONP solution of unknown concen.pdf
 
leu- bacteria are mixest in a flask with and leut bacteria- and soon a.pdf
leu- bacteria are mixest in a flask with and leut bacteria- and soon a.pdfleu- bacteria are mixest in a flask with and leut bacteria- and soon a.pdf
leu- bacteria are mixest in a flask with and leut bacteria- and soon a.pdf
 

Recently uploaded

MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 

Recently uploaded (20)

MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 

Linux using PuTTY Using the following data file (delimited by a space.pdf

  • 1. Linux using PuTTY Using the following data file (delimited by a space or tab) named (section9.4.input) November 400 January 200 June 400 March 200 April 200 May 300 July 400 August 300 September 400 February 300 October 300 December 200 Write a script named (section9.4.sh) that will use a loop structure to process the data file line by line. The script will send the output to file (section9.4.out) in the following format: Month Sales -------- ------- January 200 February 300 March 200 April 200 May 300 June 400
  • 2. July 400 August 300 September 400 October 300 November 400 December 200 ====== Total show the total Average show the average