SlideShare a Scribd company logo
1 of 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

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

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

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