In article <3564 at fluke.COM> inc at tc.fluke.COM (Gary Benson) writes: >Now I want to rename all those ".pre" files to the same name without ".pre". What I usually do in such circumstances is: for i in *.pre; do mv $i `basename $i .pre`; done