#!/bin/bash clear index=$2 index2=$3 for i in $(seq $index $index2); do j=`expr $4 - $i` echo $j /home/dm/happyli/node_$1.sh $j done;