• @Evotech
    link
    13
    edit-2
    9 months ago

    Find can find stuff based on permissions or other variables and interact with files, like delete etc

    Locate is just a database of filenames

    • @jaybone
      link
      39 months ago

      Grep. Couldn’t live without find exec grep.

      • fmstrat
        link
        fedilink
        39 months ago

        You rarely need find with grep if you man grep. Grep does it all.

        • @jaybone
          link
          09 months ago

          Grep is going to find all .java files in /home/user/workspace? And then conditionally search them? Not so sure about that.

          • fmstrat
            link
            fedilink
            99 months ago

            grep -R --include=\*.java "pattern" /home/user/workspace