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 |
Tags
- tomcat
- 단축키
- netsh
- GIT
- bash
- Mac
- Windows
- ssh
- 줄바꿈 문자
- 네트워크
- Source
- grep
- port
- VirtualBox
- resource
- lsof
- context
- JavaScript
- Quartz
- import
- find
- Eclipse
- plugin
- vscode
- xargs
- IntelliJ
- web.xml
- Windows 10
- profile
- maVen
Archives
- Today
- Total
develog
[bash] grep -n 본문
## 현재 폴더에서 파일을 먼저 찾고
## 찾은 파일에서 '문자'를 검색하고 라인번호를 찍는다
find . -type f | xargs grep -n 'insert' --color=auto
## 현재 폴더와 서브 폴더에서 '문자'를 검색하고 라인번호를 찍는다
grep -rn 'insert' .
Comments