• @Evotech
      link
      13
      edit-2
      4 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
        34 months ago

        Grep. Couldn’t live without find exec grep.

        • fmstrat
          link
          fedilink
          34 months ago

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

          • @jaybone
            link
            04 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
              94 months ago

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