Difference between revisions of "Terminal Multiplexer"
Jump to navigation
Jump to search
(→tmux) |
(→tmux) |
||
| Line 1: | Line 1: | ||
= tmux = | = tmux = | ||
== listing | == creating, killing, listing, renaming == | ||
<code>tmux ls</code> list sessions</br> | <code>tmux ls</code> list sessions</br> | ||
<code>tmux kill -t sessionname</code> kill tmux session with name $sessionname</br> | <code>tmux kill -t sessionname</code> kill tmux session with name $sessionname</br> | ||
Revision as of 18:03, 9 February 2023
tmux
creating, killing, listing, renaming
tmux ls list sessions
tmux kill -t sessionname kill tmux session with name $sessionname
tmux new -s sessionname create tmux session with name $sessionname
tmux rename -t sessionname newname rename $sessionname to $newname
tmux attach -t sessionname attach to $sessionname
Ctrl-b d detach from session
Ctrl-b leftarrow move active window horizontally
Ctrl-b rightarrow move active window horizontally
Ctrl-b uparrow move active window vertically
Ctrl-b downarrow move active window vertically
Ctrl-b pgup/pgdown scroll up/down (window)
Ctrl-b [ + arrow keys scroll up/down (line)
resizing
Ctrl-b ALT arrow_keys resize active window
spawning
Ctrl-b % spawn terminal horizontally
Ctrl-b " spawn terminal vertically