Small typo in my previous post, I had an errant $ in the echo command num=1; while expr $num '<' 25 >/dev/null do echo file${num}.txt; num=$(expr $num + 1); done -- Kathryn http://womensfooty.com US Freedom Signup: http://womensfooty.com/freedom/2011