Simple update script using bash

June 1, 2014 | By | Reply More

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″]

[/codesyntax]

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

[codesyntax lang=”bash”]

[/codesyntax]

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

Tags: ,

Category: Programming

Leave a Reply