OK a basic question. I am trying to do a grep in xml files and I want it to do all the subdirs. I tried : grep -r -i abc *.xml grep -d recurse abc *.xml and various other combinations. but it does not work and I cannot figure out why. Any ideas. Pervaz