Ubuntu 파일 내 문자열 찾기

사용법

grep -r [찾을 문자열] [파일 PATH]

EX) test.txt에서 문자열 test 찾기

grep -r 'test' ./test.txt

ex) test/ 폴더 하위에서 문자열 test 찾기

grep -r 'test' ./test/*

Published by

shotan

Hi i'm cho

Leave a Reply

Your email address will not be published. Required fields are marked *