add.) tmux는 기본적으로 명령어를 사용하기 위해선, prefix키로 Ctrl + b를 사용해야 한다.
$ sudo apt install tmux
: tmux install
$ tmux new -s [session_name]
: create new session
$ tmux new -s [session_name] -n [window_name]
: create new session and new window
$ exit
: exit the session
$ tmux kill-session -t [session_name]
: exit the session at outside the session
$ tmux ls
: list of the sessions
$ tmux attach -t
[session_number/session_name] : restart the session / recall the session
(Ctrl + b) + $
: change the session name
(Ctrl + b) + d
: stop the session
(Ctrl + b) + c
: create the window
(Ctrl + b) + b
+ [number] : move the point of window
(Ctrl + b) + ,
: change the window name
(Ctrl + b) + %
: separate the pane left and right
(Ctrl + b) + "
: separate the pane up and down
(Ctrl + b) + 방향키
: move the point pane
(Ctrl + b) + q + [pane_number]
: move the point pane
Ctrl + d
: remove the pane
(Ctrl + b) + Alt + 방향키
: adjust the pane size