특정 단어가 있는 파일 검색

grep -e  hanmail /public_html/ -R

-> public_html 디렉토리 안에 hanmail 이라는 단어가 있는 모든 파일



grep -e  hanmail /public_html/ -R > {file_name}

-> 검색결과를 파일로 저장