Find Data Within Files In Linux and Centos
This tutorial explains how to find list all files and directories on a Linux system that have a string of text within the name. The example below is looking for files or folders with database_connect in the name.
Find Text Within The Files and Folders
root# find /pathtofiles -name "database_connect*"
root# find /directory | grep "database_connect"
root# find . | grep "database_connect"
find /home/username | grep connect