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

    • marighost@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      I could very easily, I’ve just only use rsync a handful of times for one-off files or small directories. Thinking of using it for several Tbs scares me 😅

      • ranzispa@mander.xyz
        link
        fedilink
        arrow-up
        5
        ·
        3 days ago

        When transfering large amounts of data I’d most definitely advise using rsync. Something fails, connection falls and everything is okay as it’ll pick up where it left off.

      • ScientifficDoggo@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        I’m sure it’ll be fine, I’m no expert but i use it it sync/clone my music storage with my music player. There’s thousands of songs, lyrics, and album art getting synced and backed up regularly in my case.

        Worst thing that happened to me happened when I was new to the tool and accidentally overwrote my source directory (luckily I had backups)