Terminal multiplexer

(s)hell 1
$  
          
(s)hell 2
$  
          
(s)hell 3
$  
          
(s)hell 4
$  
          
(s)hell 5
$  
          
Joris Zwart logo

I code dreams™

'90s  NOHUP
'00s  The screen years
2025  Late to the party: tmux!
        
Attach
Benader een bestaande sessie
Detach
Ontkoppel een sessie
Demo

(Carl Sagan zou trots zijn)

Install
shell
$ apt install tmux 
          
Start it up
shell
$ tmux 
          
Key usage

CTRL + B

En vervolgens...

C nieuw window
N volgend window
P vorig window
D detach

Sessions
Attach to session
shell
$ tmux attach 
          
shell
$ tmux list-sessions
0: 1 windows (created Tue Dec  9 21:16:49 2025)
1: 1 windows (created Tue Dec  9 21:17:55 2025)

$  
          
Name your sessions!
Split panes

CTRL + B

En vervolgens...

" horizontale split
% verticale split

wissel pane

tmux list-keys
Commands
tmux list-commands
Copy & paste
Recap
Nifty split pane
tmux pipe-pane -o \
    -t 0 'cat > output.log'
        
SSH keys

Easy login

Mosh

Roaming

shell
$ tmux attach
no sessions

$ *@)^%@)(#&!!11OneZ0r3s 
          
Attach existing process
shell
$ su -
# ps aux | grep tetris
# disown
# bg
# tmux
# reptyr 127581 
          
Recap
github.com/tmux
Alternatives
Credits
github.com/container2wasm
xtermjs.org
En nu!
$ detach
Koffie
Bier
of...
Melk
joriszwart.nl/tmux