I’ve been setting up a new Proxmox server and messing around with VMs, and wanted to know what kind of useful commands I’m missing out on. Bonus points for a little explainer.

Journalctl | grep -C 10 'foo' was useful for me when I needed to troubleshoot some fstab mount fuckery on boot. It pipes Journalctl (boot logs) into grep to find ‘foo’, and prints 10 lines before and after each instance of ‘foo’.

      • Will@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        22 小时前

        https://atuin.sh/ does one better. history with context: $PWD, $HOST, time. There’s a bunch of other bells and whistles, but they’re easy to ignore to get an noninvasive upgrade to ctrl+R

        • witness_me@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          2 天前

          Those projects contribute the bulk of funds for the development of fzf.

          It’s normal to credit them and I’ve seen that done on multiple open source projects.

            • witness_me@lemmy.ml
              link
              fedilink
              arrow-up
              2
              ·
              1 天前

              Ok. Let’s go with it being ads. It’s a free open source project that’s absolutely worth using. Are you going to crucify them for it? Wanna donate for its development?