💡 #Tip #TIL you could use #tmux / GNU #screen 's attach and detach session feature to get persistent sessions in the terminal. To do so,
1. Start tmux2. Open a few panes and terminal applications3. Type tmux detach. Alternatively, the shortcut.. Ctrl-B,d4. Type tmux attach or simply tmux a to jump back in.
This is a more robust workflow than minimising / nohup / Ctrl-Z + fg etc.
This works in HPC clusters too logged in via SSH. Amazing isn't it?
@wyatwerp First time I am hearing about dtach.
Anyways for now, I am really enamored by tmux. For example, you can script creation of tmux sessions:
and sending commands to it:
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!