Instead of
Code:
for i in `ls -A`; do grep <STRING VALUE> $i; done
you can use
Code:
grep <STRING VALUE> *
And when you want to descend the directory structure use
Code:
grep -r <STRING VALUE> *
From the manpage:
-R, -r, --recursive
Read all files under each directory, recursively; this is equivalent to the -d recurse option.