find, grep, sed, and awk - eviltoast

Code and comments

  • palordrolap@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    If you’re using find all the time, check to see if you have or can have some variant of locate installed. It indexes everything* on the system (* this is configurable) and can be queried with partial pathnames, even with regex, and it’s fast.

    • SpaceNoodle@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I use locate when I don’t know where the files are. Find has finer controls and can differentiate between regular files, links, directories, etc.