728x90
반응형
단순히 내 용도로 다른 블로그에 있던 tmux 명령어 정리
세션 관련 명령어
tmux ls : 현재 동작하는 세션 listup
# 새로운 세션 생성 (with window 지정)
$ tmux new -s $SESSION_NAME (-n $ WINDOW_NAME)
# 세션 명 변경 Modify Session Name
ctrl + b, $
# 세션 종료 Terminate session
$ (tmux에서) exit
# 세션 중단하기 (detached)
ctrl + b, d
# 세션 목록 보기 (list-session)
$ tmux ls
# 세션 접속
$ tmux attach -t <session-number or session-name>
윈도우 관련 명령어
<ctrl + b> + d : shell로 돌아오기
<ctrl + b> + % : 세로로 터미널 분할
<ctrl + b>+ " : 가로로 터미널 분할
<ctrl + b>, c : 윈도우 생성
<ctrl + b>, & : 윈도우 종료
# 윈도우 이동
ctrl + b, 0-9 : window number
방향키
n : next window
p : prev window
l : last window
w : window selector
f : find by name
728x90
반응형
'사소한 Tip . 오류 해결법' 카테고리의 다른 글
[cv2]AttributeError: module 'cv2' has no attribute 'img_hash' (0) | 2023.07.24 |
---|---|
[docker/nvidia-smi] container process kill (0) | 2023.07.19 |
[Python, unquote] 한글 파일명, 한글문자 깨질 때 디코딩. (0) | 2023.07.11 |
[python] natsort 파일명 정렬하기. (0) | 2023.07.03 |
[opencv] global loadsave.cpp:244 findDecoder imread_('./이미지/img.jpg'): can't open/read file: check file path/integrity (0) | 2023.06.23 |