Open DrMaemi opened 12 months ago
.screenrc
.bashrc
screen -r <screen-name>
ctrl
a
d
c
n
p
[0-9]
|
shift
\
tab
S
s
:remove
Ctrl
"
Shift
'
⌃
A
⇧
Esc
$ screen -ls There is a screen on: 50194.user (Detached) 1 Socket in /var/run/screen/S-user.
$ screen -XS 50194 quit $ screen -r user There is no screen to be resumed matching user.
- Rationale: - `-X` - Execute command - `-S` - session PID to execute on ## frozen tab이 ctrl + d로 안죽여질 때 - ctrl + a, `:kill` 입력하면 죽더라 ## A. 참조 - [[screen] 기본 사용법](https://poorman.tistory.com/334) - [GNU screen: key to access tabs above 9](https://superuser.com/questions/342470/gnu-screen-key-to-access-tabs-above-9) - [Gnu screen: kill a frozen tab](https://superuser.com/questions/458122/gnu-screen-kill-a-frozen-tab)
.screenrc
,.bashrc
설정screen 기존 단축키
screen -r <screen-name>
: screen recoveryctrl
+a
,d
: 현재 스크린으로부터 탈출(Deattach). (스크린은 꺼지지 않고 여전히 동작 중)ctrl
+a
,c
: 스크린에서 새창 띄우기ctrl
+a
,n
(ext) : 다음 창으로 이동 (Ctrl+a, space와 동일)ctrl
+a
,p
(revious) : 이전 창으로 이동 (Ctrl+a, Backspace와 동일)ctrl
+a
,[0-9]
: 스크린 [0-9]번 탭으로 이동ctrl
+d
: 현재 screen 탭 삭제ctrl
+a
,|
(shift
+\
) : 수직 분할ctrl
+a
,tab
: 분할된 창 이동ctrl
+a
,S
(shift
+s
) : 수평 분할ctrl
+a
,:remove
입력 : 분할된 창만 제거(screen은 살아있다)Ctrl
+a
,"
(Shift
+'
) : 스크린 세션의 모든 탭 리스팅, 선택 후 enter 입력해 탭 선택 가능⌃
+a
,A
(⇧
+a
) : 탭 이름 변경 (Esc
로 변경 중 취소)screen 세션 확인 후 kill
$ screen -XS 50194 quit $ screen -r user There is no screen to be resumed matching user.