Just fire the given command * :--
#!/bin/sh
echo " Searching for Banking folders"
find . -name "*bankofamerica*" -print
echo " Searching for banking strings in files"
find . -exec grep -q "onlinebanking" '{}' \; -print
******************---------------------*********************
No comments:
Post a Comment