I spent a lot of time in shells. Tmux is a late-discovery must-have for me. It is terminal multiplexer. I used to use screen command. But tmux is next generation of it.
Tmux has 3 basic constructs: session,window and pane. Think session as a global container of insider elements: windows and panes. As described here Ctrl-b is the prefix command. After prefix
s shows sessions and enables navigation
d detaches from that session (not quit)
w lists windows
c create new window
% splits a window horizontally
" splits a window vertically
n passes to next window
p passes to previous window
x kills the current pane
& kills the current window
! breaks the pane out of window (making it a seperate window)
arrow keys enables navigation through panes, windows
$ tmux a
attaches a previous session.
Have fun.
Hiç yorum yok:
Yorum Gönder