Write a script to automatically update

Issue

This Content is from SuperUser. Question asked by Blank

How would I create a .sh file that executes this:

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.



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from SuperUser , is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?