How to search or find within a file in linux

type the below command and change the below criteria to suite to your search :

  • find /ENTER/PATH -type f -print0 | xargs -0 grep -i ENTER_TEXT_TO_SEARCH