<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:"KP CheongPong"; panose-1:0 0 4 0 0 0 0 0 0 0; mso-font-charset:129; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-1879047505 434105595 18 0 1572865 0;} @font-face {font-family:"/@KP CheongPong"; panose-1:0 0 4 0 0 0 0 0 0 0; mso-font-charset:129; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-1879047505 434105595 18 0 1572865 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; text-autospace:none; word-break:break-hangul; font-size:12.0pt; font-family:"KP CheongPong"; mso-bidi-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-bidi-font-size:10.0pt; mso-ascii-font-family:"Times New Roman"; mso-fareast-font-family:바탕; mso-hansi-font-family:"Times New Roman"; mso-font-kerning:0pt;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:595.3pt 841.9pt; margin:99.25pt 3.0cm 3.0cm 3.0cm; mso-header-margin:42.55pt; mso-footer-margin:49.6pt; mso-paper-source:0; layout-grid:18.0pt;} div.Section1 {page:Section1;} -->
문자열찾기 방법 1 - 영어만 주로 가능
# grep -rw " 찾는문자열" ./
문자열찾기 방법 2 - 대/ 소문자 구분 안하고 검색
# grep -i -l " 찾는문자열" * -r 2> /dev/null
문자열찾기 방법 3 - 한글, 영어 모두 가능
# find . -exec grep -l " 찾는문자열" {} /; 2>/dev/null
문자열찾기 방법 4 - 한글, 영어, 대소문자 안가리고 검색
# find . -exec grep -i -l " 찾을문자열" {} /; 2>/dev/null
문자열찾은 후 치환
# find . -exec perl -pi -e 's/ 찾을문자열/ 바꿀문자열/g' {} /; 2>/dev/null
파일명 찾기
# find / -name 파일명 -type f
파일명 찾기( 대소문자 구별없음)
# find / -iname 파일명 -type f
디렉토리 찾기
# find / -name 파일명 -type d
디렉토리 찾기( 대소문자 구별없음)
# find / -iname 파일명 -type d
하위디렉토리 내.. 모든파일 찾기..
find . | xargs grep 메롱