Can you please ELI5 tmux?

https://lemmy.ml/post/1931366

Can you please ELI5 tmux? - Lemmy

I am fairly familiar with Linux, I’ve been using different distros for some years now and have done some config editing here and there. I am also a web developer and use the terminal quite a lot and so I always stumble on people’s recommendation to use tmux and how good it is, but I never really understood what it does and, in layman’s terms, how can it be useful and for what use cases. Can you guys please enlight me a bit on this? Thank you.

I guess the best analogy is a "virtual desktop" but for the terminal.
It's is a program which runs in a terminal and allows multiple other terminal programs to be run inside it.

Each program inside tmux gets its own "page" or "screen" and you can jump between them (next-screen, previous-screen etc).
So instead of having multiple terminal windows, you only have one and switch the screen/page inside it.

You can also detech from the program and leave it running - so next time you log on to the server, you can re-attach to it and all your screens/sessions are still there.

Did that help?

The real power of tmux, though, is that it manages the session you created. So, one use case would be saving your current terminal setup. Instead of exiting the terminal and navigating to the project and setting up the environment again next time, you can simply detach and re-attach.

systemd: Oh yeah? Hold my beer

Back in 2016, systemd started killing user processes on logout (rather than send... | Hacker News

Yeesh, I never knew about that. Probably because I normally only worry about SIGHUP on *BSD.

What kind of arrogance does it take to just decide to change how signals work?

Ugh I remembering learning upstart and getting decent with it and then everyone went “nope, systemd”

Let’s just improve what we have and not change the whole goddamn thing again. That’s more annoying.

Also, some of the people on hackernews are so cringy. Like, dude we get it there is a bad default. Make your case and stop being a total jerkoff, because no one is going to listen to that guy and I bet that’s like 20% of the reason the other übernerds are digging their heels in about changing it.

Also fuck systemd 😅