Simple update script using bash

We can easily create our own script containing an update command. This script will attempt to update Ubuntu based system, in this case I am using Pinguy OS 14.04. Its a pretty simple script. This script was build using bash/shell scripting program.

Update script using bash:

[codesyntax lang=”bash” lines=”normal” lines_start=”1″]


When this program is executed the following result will be displayed on screen:

[codesyntax lang=”bash”]


Actually its the ordinary sudo apt-get update command but compiled into a script. :) Its very interesting.


Leave a Reply

Your email address will not be published. Required fields are marked *