Hal Wigoda wrote: > do a loop > > for i in filenames* > do > rm $i > done Put quotes around the variable, i.e.: rm "$i" otherwise it won't handle filenames which contain whitespace. Shell variables should always be quoted unless you actually want values which contain whitespace to be split into multiple words. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html