Which Linux command or utility is simple, powerful, and surprisingly unknown to many people or used less often?

This could be a command or a piece of software or an application.

For example I’m surprised to find that many people are unaware of Caddy, a very simple web server that can make setting up a reverse proxy incredibly easy.

Another example is fzf. Many people overlook this, a fast command-line fuzzy finder. It’s versatile for searching files, directories, or even shell history with minimal effort.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 days ago

    degit is a tool that will check out a git repo (or a specific branch or commit), but not set it up as a git repo. Basically just downloading a specific commit to a directory.

    • x00z@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      So just clone a git and delete the .git folder? Seems pretty useless to me.

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        If you want to waste bandwidth downloading the entire commit history, go ahead.

        • A Basil Plant@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          3 days ago

          --depth=1? I use this all the time when I clone the kernel.

          Edit: reread that you wanted to download code at a particular commit.

            • A Basil Plant@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              2 days ago

              Can single-branch handle cloning from a particular commit? I know that it’s possible to clone particular branches and particular tags with depth=1, but OP states cloning at a particular commit, not HEAD.