Linux
grep
시크유
2017. 3. 22. 00:08
grep -r "키워드" 폴더명 - 하위폴더검색
grep '키워드' 파일명 | less (space or b)
grep '키워드' 파일명 | grep -v "제외할키워드" | less
zcat access.log.gz(압축파일명) | grep "/retro" - 압축파일에서 검색
tail -F access.log | grep "/retro" | grep -v "제외할키워드"