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.

  • Static_Rocket@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    6 days ago

    I’d recommend tmux for that particular use. Screen has a lot of extras that are interesting but don’t really follow the GNU mentality of “do one thing and do it well.”

    • kitnaht@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      6 days ago

      Tmux / Screen is like the emacs/vim of the modern day Linux I think.

      Screen is more than capable, but for those who have moved to Tmux, they will absolutely advocate for it.

    • darklamer@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      4
      ·
      6 days ago

      When tmux was first released I was already so used to screen that I never really considered switching. What would some convincing arguments be for me to make the effort to switch now?

      • notabot@lemm.ee
        link
        fedilink
        arrow-up
        6
        ·
        6 days ago

        The thing that got me to switch was being able to maintain my pane layout between connections. The various window and pane management niceties (naming, swapping, listing and the like) got me to stay. Now you can keep your screen, but you’d have to pry tmux from my cold, dead, tty.

      • Static_Rocket@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        6 days ago

        Tmux was purpose built for terminal multiplexing. You can assign session names for organizing and manipulating multiple instances. Send keys to and read output from detached sessions. It’s easy to script.

          • Static_Rocket@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 days ago

            Sorry, it was, just not for exploring all of those instances at once. Should have called out the tiling function. Screen also built in a serial terminal emulator and started playing with a few other things.

      • kablammy@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        4 days ago

        This was a few years ago so maybe it has improved, but I found that screen would crash and lose my session history and layout too often. That was bad enough, but when it happened it had some bullshit error message about a dungeon roof falling in. I don’t mind some comedy in code or even the interface, but don’t make light of the user losing their stuff. I tried tmux and it is much more stable than screen was.