treechicken@lemmy.world to Programmer Humor@lemmy.ml · 7 months agoFirewalllemmy.worldimagemessage-square34fedilinkarrow-up132arrow-down12
arrow-up130arrow-down1imageFirewalllemmy.worldtreechicken@lemmy.world to Programmer Humor@lemmy.ml · 7 months agomessage-square34fedilink
minus-squareJasonDJ@lemmy.ziplinkfedilinkarrow-up2·7 months agoTmux essentially creates a pseudo-shell that persists between sessions. So you can start a process, detach the session, start something else, disconnect, come back next week, and check on it. It does other things too. Like console tiling.
minus-squareu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.orglinkfedilinkEnglisharrow-up1·edit-27 months agoWell, the script could keep running even after he would have detached from that tmux session due to losing ssh connection. And since that script would unblock all ports after 30 seconds… (Same use case as nohup that they mentioned)
What does it do in this case?
Tmux essentially creates a pseudo-shell that persists between sessions.
So you can start a process, detach the session, start something else, disconnect, come back next week, and check on it.
It does other things too. Like console tiling.
Well, the script could keep running even after he would have detached from that tmux session due to losing ssh connection. And since that script would unblock all ports after 30 seconds…
(Same use case as nohup that they mentioned)