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’.

  • Jo Miran@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    2 days ago

    It isn’t a command but an application. I cannot do my work without it.

    screen
    
          • wheezy@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            2 days ago

            Scrolling is tmux is what I hate about it. I would prefer to use tmux since I’m use to it. But if someone can explain to me why I can’t just use my scroll wheel on my mouse.

            • kittenroar@beehaw.org
              link
              fedilink
              English
              arrow-up
              2
              ·
              23 hours ago

              As I understand it, the issue is that tmux invents its own terminal emulator functionality that conflicts with the existing terminal it runs within, while screen simply defers scroll functionality to the terminal emulator.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      are you using a maintained alternative? Distros started to remove it from their repos years ago because it was not maintained anymore afaik

        • Eager Eagle@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          maybe they resumed development then, it was removed from Ubuntu and RHEL repos about 5 years ago when I had to look for an alternative