Grep

wwiki
이동: 둘러보기, 검색
$ grep [OPTION] [PATTERN] [FILE]

옵션[편집 | 원본 편집]

-r, --recursive like --directories=recurse

--include=GLOB search only files that match GLOB (a file pattern)

--include \*.js js 확장자에서 검색

--exclude=GLOB skip files and directories matching GLOB

-v, --invert-match