Linux find term in any file


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. //this command find any file name that contains "searchterm"
  2. grep -lir "text to find" *
  3. //this command finds files with the searchterm name
  4. find / -iname "*searchterm*" ;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.