find

Discussion in 'Programming/Scripts' started by rmorgan, May 20, 2010.

  1. rmorgan

    rmorgan New Member

    There is a method to find contents of any file on a system using find . -fgrep "item to find"{}/ but I can not seem to get the syntax right.
    can someone point me in the right direction?
    Thanks
     
  2. Mark_NL

    Mark_NL Member

    find / -type f | xargs grep -l "I'm looking for this string"
     

Share This Page