1#!/bin/bash 2 3echo "read the input until the number is smaller then 10" 4 5echo -n "insert a number: " 6read num; 7while ((num > 9)) 8do 9 echo -n "wrong number, try again: " 10 read num; 11done 12 13echo "correct number! num = $num" 14 15exit 16 17