Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- proxycfg
- ssh key 배포
- G-suite
- Elasticsearch
- Kibana
- ELASTIC
- macos
- hardening
- pfsense
- Windows
- ansible
- endpoint security
- application security
- PlayBook
- Proxy
- xe guest utilities
- bash
- 보안양파
- 한글가이드
- GitLab
- freebsd
- 로그인불가
- elastic stack
- x-pack
- docker
- miniconda
- Kibana server is not ready yet
- XCP-ng
- centos 8
Archives
- Today
- Total
선 밖에 선 자유인
gz 파일 grep으로 내용 추출 본문
- recursive를 통해 하위 디렉터리에서 내용 추출
# 패턴으로 검색 find ./<디렉터리> -name '*.gz' -exec zgrep "<패턴>" {} \; # regex를 통해 확장자 검색 find ./<디렉터리> -name '*.gz' -exec zgrep -E -i "\.xls|\.xlsx|.pdf" {} \;
Comments