Using while loops is discussed.



From http://bashscripts.info/