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 "제외할키워드"


'Linux' 카테고리의 다른 글

history 검색  (0) 2017.03.28
vim  (0) 2017.03.23
로그및 용량확인  (0) 2017.02.17
shell script, crontab  (0) 2017.02.11
리눅스 명령어  (0) 2017.02.11

http://programmingsummaries.tistory.com/325

'javascript' 카테고리의 다른 글

더미 데이타 만들기  (0) 2017.09.13
tableToExcel  (0) 2017.08.18
json data roop  (0) 2012.02.29
DOM  (0) 2012.02.17
var 키워드와 영역  (0) 2012.02.07

select id,CountryCode, 

      district,    

      (select count(*) from city c2 where c2.countrycode = c1.countrycode and c2.id <= c1.id) as seq    

from city c1;

'mysql' 카테고리의 다른 글

blocked because of many connection errors  (0) 2018.06.12
mac mysql 삭제  (0) 2018.01.21

+ Recent posts