General Flashcards
1
Q
List tmux Sessions
A
tmux ls
2
Q
tmux: Attach to a (singular instance) session
A
tmux attach -t
3
Q
tmux: Start a new named session
A
tmux new -s NAME_VAR
4
Q
tmux: Detach from a session
A
Prefix d
5
Q
tmux: Start another session but stay detached
A
tmux new -s NAME_VAR -d
6
Q
attach to a specific session
A
tmux attach -t NAME _VAR
7
Q
tmux: Kill a session
A
Either ‘exit’ from within
Or
tmux kill-session -t NAME_VAR
8
Q
tmux: Rename a window
A
Prefix , (prefix -comma) NAME _VAR
9
Q
tmux: Display a list of windows
A
Prefix w
10
Q
Find a window
A
Prefix f STRING_INPUT Enter
11
Q
Close the current window
A
exit
Or
Prefix &
12
Q
Split window/panes vertically
A
Prefix %
13
Q
Split window/pane horizontally
A
Prefix “
14
Q
Close current pane
A
exit
Or
Prefix X
15
Q
tmux toggle between windows
A
prefix n