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

you are viewing a single comment's thread
view the rest of the comments
[–] 14 points 10 months ago (8 children)

I prefer tmux, but yes. Both do a great job in helping me manage my terminal sessions.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 4 points 10 months ago (3 children)
  • [–] 3 points 10 months ago (2 children)

    Scrolling in screen is superior to tmux imo

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 10 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 10 months 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.

  • source
  • parent
  • [–] 4 points 10 months ago (3 children)