#!/bin/bash #this program counts from 1 to 10 # it prints the results to the screen x=0 while [ $x -lt 10 ] do let x=$x+1 echo $x done