this post was submitted on 11 Jul 2023
127 points (100.0% liked)
Linux
48008 readers
1234 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ok, now I guess I am seeing the value of it, specially with the "virtual desktop" analogy and the remote scenario, since I need to do some of it at work and having everything as I left it last time will be nice. Thank you!
plus, if you disconnect in the middle of a command execution it doesn't get killed (very important for system updates for example)
…. or if you get disconnected by, say, dodgy internet connection or such.
Mosh is really good for that as well. It's like the tmux of ssh
I use the "being able to detach and re-attach" capability to run my Minecraft server on my in-home server box.
Imagine you ssh into a server to do a database import, and from previous experience you know it will take about 3 hours. You start the restore, then get up to make dinner. You come back an hour later and realize you forgot to plug your laptop in.
Is the import command still running? Who knows.
With tmux you just charge your laptop, ssh in again, and reconnect to the virtual term that was running the command to check.