#!/bin/sh File1='a' File2='b' File3='c' COUNT=3 FILE=$(echo FILE`jot -r 1 1 ${COUNT}`) echo $FILE