Command to find a word in current folder and subfolders


find . -type f -exec grep word /dev/null {} +
'word' is where you have to put the search phrase.

Comments

Popular posts from this blog

CDbConnection failed to open the DB connection mysql 8

IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified [ISQL]ERROR: Could not SQLConnect

How to replace find -maxdepth option in Solaris Operating System using -prone