!#/usr/bin/sh


# prompt the user for a string to be serarched for 
echo "Please enter the file to be found: \c"
read string
# search for files in current dir that match the string
find . -name "*$string*"
# search the contents of all files in the current dir for the pattern
grep $string *


