Linux/Log2 Find & Perl Command - 문자열 검색 및 치환 리눅스와 친해지고 싶습니다. 1. 파일 명에 포함된 문자열로 검색. find [path] -name [string] e.g) find . -name "*config*" find ./ -name "config" 2. grep 명령을 사용한 파일 내부 문자열 검색. grep -r [string] [files] e.g) grep -r '*iadd*" ./config.php grep -r "*iadd*" ./conf/* ! [--include '*.conf'] : include 옵션으로 특정 확장자 파일들을 대상으로 검색이 가능하다. 3. find 명령을 사용한 파일 내부 문자열 검색 e.g) find . -type f -print | xarg grep -i "string" fine . -name "*.conf.. 2020. 10. 6. Web Parameter _ Apache Post Logging ㅁ 필수 패키지 1. httpd-devel ㅁ 설치 및 환경설정 [Web@CentOS Download]# wget -O mod_dumpost.zip http://codeload.github.com/danghvu/mod_dumpost/zip/master [Web@CentOS Download]# unzip mod_dumpost.zip [Web@CentOS Download]# ll total 20 drwxr-xr-x. 3 root root 215 Jul 7 04:20 mod_dumpost-master -rw-r--r--. 1 root root 17796 Jul 7 04:20 mod_dumpost.zip [Web@CentOS Download]# cd mod_dumpost-master [Web@CentOS mod.. 2020. 7. 7. 이전 1 다음