How to create a simple shell script

Thursday, November 15th, 2007

Here is a simple example of creating and running (executing) a shell script. This script will display the numbers from 1 to 10. Creating the script: With any text editor (Gedit for Gnome, Kate for KDE, nano): #/bin/bash for ((i = 1; i