Tag Archives: how to write a simple shell script

Writing a simple bash install script

While  installing programs the next simple trick might come in handy: create a bash script and let the terminal interface do all the hard work automatically.

First you need to open an empty text file (with gedit, leafpad, kate or any other). After you have the text file in front of you then you can start typing the install commands. For example I used the following very basic install script to set up my Ubuntu box.

Continue reading