Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


linux:misc:search_for_file_with_contents

Find file contain text on linux

grep -rnw '/path/to/somewhere/' -e 'pattern'

Discussion

Enter your comment:
C X S B​ G
 
linux/misc/search_for_file_with_contents.txt · Last modified: 2019/10/31 09:05 (external edit)