Skip to main content

12.1) Locate File Content


The grep command helps you to locate files based on the content of what is in the files. So find allows you to look for file names and now grep allows you to find files by what is written or what data is in them. It can help you find long lost files based on recalling some of the content. Or you can use it to find specific inputs or outputs that are stored in files that you are seeking.