@treechicken to Programmer [email protected] • 1 year agoFirewallimagemessage-square76arrow-up1732arrow-down117
arrow-up1715arrow-down1imageFirewall@treechicken to Programmer [email protected] • 1 year agomessage-square76
minus-squareu/lukmly013 💾 (lemmy.sdf.org)linkfedilinkEnglish10•edit-21 year 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)
minus-square@[email protected]linkfedilink3•1 year 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.
What does it do in this case?
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)
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.