#!/usr/bin/sh for file in `ls *.htm` do mv -i $file $file"l" done