tmux Flashcards

1
Q

Check the version of tmux

A

tmux -V

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

start a tmux session, run the following command(s):

A

tmux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

to close the tmux session, run the following command(s):

A

exit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

create a new session named ‘basic’ with tmux

A

tmux new-session -s basic
OR
tmux new -s basic
alias: ts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

detach from a tmux session, run the following command(s):

A

Prefix d (ctrl-a d)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

list existing tmux session, run the following command(s):

A

tmux list-session
OR
tmux ls (alias: tl)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

creating a new tmux session in the background, run the following command(s):

A

tmux new-session -s session_name -d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

attach to a tmux session (if only have one session), run the following command(s):

A

tmux attach

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

attach to a specific session (multiple detached sessions), run the following command(s):

A

tmux attach -t session_name (alias: ta)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

to kill a session, run the following command(s):

A

tmux kill-session -t session_name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

to create a new window, run the following command(s):

A

Prefix c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

to rename a window, run the following command(s):

A

Prefix ,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

to move to next window, run the following command(s):

A

Prefix n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

to move to previous window, run the following command(s):

A

Prefix p

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

to quickly jump to a numbered window, run the following command(s):

A

Prefix number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

to find a window by name, run the following command(s):

A

Prefix f

17
Q

to display a menu of all windows, run the following command(s):

A

Prefix w

18
Q

to exit a window, run the following command(s):

A

Prefix &