General Flashcards
List tmux Sessions
tmux ls
tmux: Attach to a (singular instance) session
tmux attach -t
tmux: Start a new named session
tmux new -s NAME_VAR
tmux: Detach from a session
Prefix d
tmux: Start another session but stay detached
tmux new -s NAME_VAR -d
attach to a specific session
tmux attach -t NAME _VAR
tmux: Kill a session
Either ‘exit’ from within
Or
tmux kill-session -t NAME_VAR
tmux: Rename a window
Prefix , (prefix -comma) NAME _VAR
tmux: Display a list of windows
Prefix w
Find a window
Prefix f STRING_INPUT Enter
Close the current window
exit
Or
Prefix &
Split window/panes vertically
Prefix %
Split window/pane horizontally
Prefix “
Close current pane
exit
Or
Prefix X
tmux toggle between windows
prefix n
tmux swap between multiple windows
prefix (0-9)
tmux: find a named window
prefix f
Then type the name and hit enter.
tmux: close a window
prefix &
tmux kill a pane
Type exit
or
prefix X
tmux: command mode
prefix :