SlideShare a Scribd company logo
Shell scripting is commonly used to automate changes and install updates. Write a script to
automatically update the Centos Server from Homework 3.
Instructions
Make sure that the script:
Updates the entire Linux machine
Restarts HTTPD (the webserver) if there are updates
Extracts the latest zip file containing the software
Places it in the correct location

More Related Content

More from kthomas16

Select al of the folowing that are true regarsing finance- Finance onl.docx
Select al of the folowing that are true regarsing finance- Finance onl.docxSelect al of the folowing that are true regarsing finance- Finance onl.docx
Select al of the folowing that are true regarsing finance- Finance onl.docxkthomas16
 
Search the Internet for two RHIOs- Describe each briefly and their sta.docx
Search the Internet for two RHIOs- Describe each briefly and their sta.docxSearch the Internet for two RHIOs- Describe each briefly and their sta.docx
Search the Internet for two RHIOs- Describe each briefly and their sta.docxkthomas16
 
Ruestion 51 (6 points) One of the earliest experimental embryology exp.docx
Ruestion 51 (6 points) One of the earliest experimental embryology exp.docxRuestion 51 (6 points) One of the earliest experimental embryology exp.docx
Ruestion 51 (6 points) One of the earliest experimental embryology exp.docxkthomas16
 
SARS-CoV-2 is an enveloped virus that infects human respiratory cells-.docx
SARS-CoV-2 is an enveloped virus that infects human respiratory cells-.docxSARS-CoV-2 is an enveloped virus that infects human respiratory cells-.docx
SARS-CoV-2 is an enveloped virus that infects human respiratory cells-.docxkthomas16
 
Sand Play You have added the following materials to the sand table in.docx
Sand Play You have added the following materials to the sand table in.docxSand Play You have added the following materials to the sand table in.docx
Sand Play You have added the following materials to the sand table in.docxkthomas16
 
Sam Ltd called for subscriptions for 4 million shares- The issue price.docx
Sam Ltd called for subscriptions for 4 million shares- The issue price.docxSam Ltd called for subscriptions for 4 million shares- The issue price.docx
Sam Ltd called for subscriptions for 4 million shares- The issue price.docxkthomas16
 
S and T are mutually exclusive events- P(S)-0-91-P(T)-0-42- Find P(ST).docx
S and T are mutually exclusive events- P(S)-0-91-P(T)-0-42- Find P(ST).docxS and T are mutually exclusive events- P(S)-0-91-P(T)-0-42- Find P(ST).docx
S and T are mutually exclusive events- P(S)-0-91-P(T)-0-42- Find P(ST).docxkthomas16
 
Refer to the figure- (A) (B) (C) A normal wild-type mouse is shown in.docx
Refer to the figure- (A) (B) (C) A normal wild-type mouse is shown in.docxRefer to the figure- (A) (B) (C) A normal wild-type mouse is shown in.docx
Refer to the figure- (A) (B) (C) A normal wild-type mouse is shown in.docxkthomas16
 
Run DFS on the graph above but assume that vertices are visited in REV.docx
Run DFS on the graph above but assume that vertices are visited in REV.docxRun DFS on the graph above but assume that vertices are visited in REV.docx
Run DFS on the graph above but assume that vertices are visited in REV.docxkthomas16
 
Ruestion 7 (1 point) -Individuals or corporations set their own standa.docx
Ruestion 7 (1 point) -Individuals or corporations set their own standa.docxRuestion 7 (1 point) -Individuals or corporations set their own standa.docx
Ruestion 7 (1 point) -Individuals or corporations set their own standa.docxkthomas16
 
Robin Corporation- a calendar year taxpayer- has a deficit in current.docx
Robin Corporation- a calendar year taxpayer- has a deficit in current.docxRobin Corporation- a calendar year taxpayer- has a deficit in current.docx
Robin Corporation- a calendar year taxpayer- has a deficit in current.docxkthomas16
 
Riverbed- Inc- had the following equity investment portfolio at Januar.docx
Riverbed- Inc- had the following equity investment portfolio at Januar.docxRiverbed- Inc- had the following equity investment portfolio at Januar.docx
Riverbed- Inc- had the following equity investment portfolio at Januar.docxkthomas16
 
Review the enzyme complexinvolved in the process of nitrogen fixation.docx
Review the enzyme complexinvolved in the process of nitrogen fixation.docxReview the enzyme complexinvolved in the process of nitrogen fixation.docx
Review the enzyme complexinvolved in the process of nitrogen fixation.docxkthomas16
 
Review BP's 2009 annual report- What intangible assets does the BP (Br.docx
Review BP's 2009 annual report- What intangible assets does the BP (Br.docxReview BP's 2009 annual report- What intangible assets does the BP (Br.docx
Review BP's 2009 annual report- What intangible assets does the BP (Br.docxkthomas16
 
Retirement Ages of 24 Doctors 54 53 56 57 56 79 62 63 60 64 70 60 60.docx
Retirement Ages of 24 Doctors 54 53 56 57 56 79 62 63   60 64 70 60 60.docxRetirement Ages of 24 Doctors 54 53 56 57 56 79 62 63   60 64 70 60 60.docx
Retirement Ages of 24 Doctors 54 53 56 57 56 79 62 63 60 64 70 60 60.docxkthomas16
 
Resources are NOT Multiple Choice productive inputs or competitive ass.docx
Resources are NOT Multiple Choice productive inputs or competitive ass.docxResources are NOT Multiple Choice productive inputs or competitive ass.docx
Resources are NOT Multiple Choice productive inputs or competitive ass.docxkthomas16
 
Researcher Quin is interested in patterns of receiving on-time vaccina.docx
Researcher Quin is interested in patterns of receiving on-time vaccina.docxResearcher Quin is interested in patterns of receiving on-time vaccina.docx
Researcher Quin is interested in patterns of receiving on-time vaccina.docxkthomas16
 
Research On-Path methods and complete a 2-3 page narrative (double-spa.docx
Research On-Path methods and complete a 2-3 page narrative (double-spa.docxResearch On-Path methods and complete a 2-3 page narrative (double-spa.docx
Research On-Path methods and complete a 2-3 page narrative (double-spa.docxkthomas16
 

More from kthomas16 (18)

Select al of the folowing that are true regarsing finance- Finance onl.docx
Select al of the folowing that are true regarsing finance- Finance onl.docxSelect al of the folowing that are true regarsing finance- Finance onl.docx
Select al of the folowing that are true regarsing finance- Finance onl.docx
 
Search the Internet for two RHIOs- Describe each briefly and their sta.docx
Search the Internet for two RHIOs- Describe each briefly and their sta.docxSearch the Internet for two RHIOs- Describe each briefly and their sta.docx
Search the Internet for two RHIOs- Describe each briefly and their sta.docx
 
Ruestion 51 (6 points) One of the earliest experimental embryology exp.docx
Ruestion 51 (6 points) One of the earliest experimental embryology exp.docxRuestion 51 (6 points) One of the earliest experimental embryology exp.docx
Ruestion 51 (6 points) One of the earliest experimental embryology exp.docx
 
SARS-CoV-2 is an enveloped virus that infects human respiratory cells-.docx
SARS-CoV-2 is an enveloped virus that infects human respiratory cells-.docxSARS-CoV-2 is an enveloped virus that infects human respiratory cells-.docx
SARS-CoV-2 is an enveloped virus that infects human respiratory cells-.docx
 
Sand Play You have added the following materials to the sand table in.docx
Sand Play You have added the following materials to the sand table in.docxSand Play You have added the following materials to the sand table in.docx
Sand Play You have added the following materials to the sand table in.docx
 
Sam Ltd called for subscriptions for 4 million shares- The issue price.docx
Sam Ltd called for subscriptions for 4 million shares- The issue price.docxSam Ltd called for subscriptions for 4 million shares- The issue price.docx
Sam Ltd called for subscriptions for 4 million shares- The issue price.docx
 
S and T are mutually exclusive events- P(S)-0-91-P(T)-0-42- Find P(ST).docx
S and T are mutually exclusive events- P(S)-0-91-P(T)-0-42- Find P(ST).docxS and T are mutually exclusive events- P(S)-0-91-P(T)-0-42- Find P(ST).docx
S and T are mutually exclusive events- P(S)-0-91-P(T)-0-42- Find P(ST).docx
 
Refer to the figure- (A) (B) (C) A normal wild-type mouse is shown in.docx
Refer to the figure- (A) (B) (C) A normal wild-type mouse is shown in.docxRefer to the figure- (A) (B) (C) A normal wild-type mouse is shown in.docx
Refer to the figure- (A) (B) (C) A normal wild-type mouse is shown in.docx
 
Run DFS on the graph above but assume that vertices are visited in REV.docx
Run DFS on the graph above but assume that vertices are visited in REV.docxRun DFS on the graph above but assume that vertices are visited in REV.docx
Run DFS on the graph above but assume that vertices are visited in REV.docx
 
Ruestion 7 (1 point) -Individuals or corporations set their own standa.docx
Ruestion 7 (1 point) -Individuals or corporations set their own standa.docxRuestion 7 (1 point) -Individuals or corporations set their own standa.docx
Ruestion 7 (1 point) -Individuals or corporations set their own standa.docx
 
Robin Corporation- a calendar year taxpayer- has a deficit in current.docx
Robin Corporation- a calendar year taxpayer- has a deficit in current.docxRobin Corporation- a calendar year taxpayer- has a deficit in current.docx
Robin Corporation- a calendar year taxpayer- has a deficit in current.docx
 
Riverbed- Inc- had the following equity investment portfolio at Januar.docx
Riverbed- Inc- had the following equity investment portfolio at Januar.docxRiverbed- Inc- had the following equity investment portfolio at Januar.docx
Riverbed- Inc- had the following equity investment portfolio at Januar.docx
 
Review the enzyme complexinvolved in the process of nitrogen fixation.docx
Review the enzyme complexinvolved in the process of nitrogen fixation.docxReview the enzyme complexinvolved in the process of nitrogen fixation.docx
Review the enzyme complexinvolved in the process of nitrogen fixation.docx
 
Review BP's 2009 annual report- What intangible assets does the BP (Br.docx
Review BP's 2009 annual report- What intangible assets does the BP (Br.docxReview BP's 2009 annual report- What intangible assets does the BP (Br.docx
Review BP's 2009 annual report- What intangible assets does the BP (Br.docx
 
Retirement Ages of 24 Doctors 54 53 56 57 56 79 62 63 60 64 70 60 60.docx
Retirement Ages of 24 Doctors 54 53 56 57 56 79 62 63   60 64 70 60 60.docxRetirement Ages of 24 Doctors 54 53 56 57 56 79 62 63   60 64 70 60 60.docx
Retirement Ages of 24 Doctors 54 53 56 57 56 79 62 63 60 64 70 60 60.docx
 
Resources are NOT Multiple Choice productive inputs or competitive ass.docx
Resources are NOT Multiple Choice productive inputs or competitive ass.docxResources are NOT Multiple Choice productive inputs or competitive ass.docx
Resources are NOT Multiple Choice productive inputs or competitive ass.docx
 
Researcher Quin is interested in patterns of receiving on-time vaccina.docx
Researcher Quin is interested in patterns of receiving on-time vaccina.docxResearcher Quin is interested in patterns of receiving on-time vaccina.docx
Researcher Quin is interested in patterns of receiving on-time vaccina.docx
 
Research On-Path methods and complete a 2-3 page narrative (double-spa.docx
Research On-Path methods and complete a 2-3 page narrative (double-spa.docxResearch On-Path methods and complete a 2-3 page narrative (double-spa.docx
Research On-Path methods and complete a 2-3 page narrative (double-spa.docx
 

Recently uploaded

Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345beazzy04
 
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 ModuleCeline George
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resourcesdimpy50
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePedroFerreira53928
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationDelapenabediema
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
 
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 chipsGeoBlogs
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxDenish Jangid
 
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 pdfVivekanand Anglo Vedic Academy
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxakshayaramakrishnan21
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...Jisc
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...Sayali Powar
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportAvinash Rai
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 
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).pdfTechSoup
 
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.pdfTamralipta Mahavidyalaya
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptSourabh Kumar
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersPedroFerreira53928
 

Recently uploaded (20)

Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
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
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
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
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
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
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.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
 
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
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 

Shell scripting is commonly used to automate changes and install updat.docx

  • 1. Shell scripting is commonly used to automate changes and install updates. Write a script to automatically update the Centos Server from Homework 3. Instructions Make sure that the script: Updates the entire Linux machine Restarts HTTPD (the webserver) if there are updates Extracts the latest zip file containing the software Places it in the correct location