Monday, May 23, 2011

Scanner

//** 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