spinix-hive/scripts/test2.sh

14 lines
146 B
Bash
Raw Permalink Normal View History

#shell
#This script counts to 5
if [ $# -ne 1 ]
then
echo usage: test2.sh number
exit
fi
echo $1
if [ $1 -lt 5 ]
then
let a=$1+1
./test2.sh $a
fi