Kua
Kua's Miscellaneous
Kua
  • 분류 전체보기 (165) N
    • 대문 (2)
    • Tips (23)
      • Chrome (2)
      • Windows (3)
      • IDE (3)
      • 기타 (15)
    • CodingTest (44)
    • Language (19)
      • PHP (5)
      • C# (7)
      • Java (1)
      • Kotlin (6)
    • Framework & Runtime (12)
      • SpringBoot (8)
      • Node.js (2)
      • Vue.js (1)
      • Gradle (1)
    • DevOps (12)
      • Linux (1)
      • Docker (4)
      • Kubernetes (2)
      • Apache Kafka (1)
      • AWS (0)
    • 일상다반사 (42) N
      • 도서 (1)
      • 개발 (8)
      • 후기 (13) N
      • 방송통신대학교 (4)
      • 음식 (2)
    • Games (11)
      • Minecraft (7)
      • VR (2)
      • 그외 (2)

다른 링크

  • Github

최근 글

  • 로지텍코리아 MX Master 3S 페⋯
    2022.08.16
    로지텍코리아 MX Master 3S 페⋯
  • Jetbrains 가격 인상 공지와 저⋯
    2022.07.08
    Jetbrains 가격 인상 공지와 저⋯
  • Gson 직렬화/역직렬화를 이용하⋯
    2022.06.16
    Gson 직렬화/역직렬화를 이용하⋯
  • [Ubuntu] screen 명령어 사용법
    2022.06.10
    [Ubuntu] screen 명령어 사용법
  • 갤럭시 웨어러블 앱처럼 컴퓨터⋯
    2022.05.30
    갤럭시 웨어러블 앱처럼 컴퓨터⋯

인기 글

  • 쿠버네티스 전문가 양성 과정 2⋯
    2021.10.30
  • 쿠버네티스 전문가 양성 과정 2⋯
    2021.12.19
  • 쿠버네티스 전문가 양성 과정 2⋯
    2021.12.28
  • 방송대 졸업 이후 학교 이메일⋯
    2022.02.16
    방송대 졸업 이후 학교 이메일⋯
  • Twitch Now 는 이제 작동하지⋯
    2022.03.02
    Twitch Now 는 이제 작동하지⋯
반응형

최근 댓글

  • 안녕하세요 메일로 답변을⋯
    Kua
  • 안녕하세요, 메일로 답장 드렸⋯
    Kua
  • 세대가 더 중요하긴 하지만, cp⋯
    Kua
  • 안녕하세요 먼저 후기글 감사합⋯
    bbbb56146
  • 안녕하세요 네, 저도 재직 중입⋯
    Kua

태그

  • 코딩테스트
  • bronze2
  • Silver5
  • minecraft
  • spring
  • Level1
  • bronze1
  • codingtest
  • error
  • Plugin
  • function
  • 플러그인
  • 알고리즘
  • java
  • Kotlin
  • github
  • Algorithm
  • 백준
  • c#
  • 마인크래프트
전체 방문자
32,525
오늘
49
어제
139
hELLO · Designed By 정상우.
Kua

Kua's Miscellaneous

[Ubuntu] screen 명령어 사용법
DevOps/Linux

[Ubuntu] screen 명령어 사용법

2022. 6. 10. 14:50

설치

> apt update
> apt install screen

확인

> screen --version

출력

명령어

> screen --help
Use: screen [-opts] [cmd [args]]
 or: screen -r [host.tty]

Options:
-4            Resolve hostnames only to IPv4 addresses.
-6            Resolve hostnames only to IPv6 addresses.
-a            Force all capabilities into each window's termcap.
-A -[r|R]     Adapt all windows to the new display width & height.
-c file       Read configuration file instead of '.screenrc'.
-d (-r)       Detach the elsewhere running screen (and reattach here).
-dmS name     Start as daemon: Screen session in detached mode.
-D (-r)       Detach and logout remote (and reattach here).
-D -RR        Do whatever is needed to get a screen session.
-e xy         Change command characters.
-f            Flow control on, -fn = off, -fa = auto.
-h lines      Set the size of the scrollback history buffer.
-i            Interrupt output sooner when flow control is on.
-l            Login mode on (update /var/run/utmp), -ln = off.
              # screen 목록
-ls [match]   or
-list         Do nothing, just list our SockDir [on possible matches].
-L            Turn on output logging.
-Logfile file Set logfile name.
-m            ignore $STY variable, do create a new screen session.
-O            Choose optimal output rather than exact vt100 emulation.
-p window     Preselect the named window if it exists.
-q            Quiet startup. Exits with non-zero return code if unsuccessful.
-Q            Commands will send the response to the stdout of the querying process.
			  # screen 재접속
-r [session]  Reattach to a detached screen process.
-R            Reattach if possible, otherwise start a new session.
-s shell      Shell to execute rather than $SHELL.
              # screen 생성
-S sockname   Name this session <pid>.sockname instead of <pid>.<tty>.<host>.
-t title      Set title. (window's name).
-T term       Use term as $TERM for windows, rather than "screen".
-U            Tell screen to use UTF-8 encoding.
-v            Print "Screen version 4.08.00 (GNU) 05-Feb-20".
-wipe [match] Do nothing, just clean up SockDir [on possible matches].
-x            Attach to a not detached screen. (Multi display mode).
-X            Execute <cmd> as a screen command in the specified session.
 

세션 내 키보드 조합 명령어

# 키보드 사용방법 확인
CTRL+a ?

# screen 에서 빠져나가기(종료되지 않음)
CTRL+a d

# screen 종료하면서 빠져나가기
CTRL+a k
exit

# 세로로 화면 분할
CTRL+a |

# 가로로 화면 분할
CTRL+a S

# 분할된 화면으로 넘어가기
CTRL+a Tab

# 새 세션 열기
CTRL+a c

# 스크롤 하기(이후 방향키로 조작)
CTRL+a esc
 
반응형
저작자표시비영리
    command, debian, HELP, Linux, Screen, ubuntu
    Kua
    Kua
    정보 공유, 개인 정리 공간 입니다.
    댓글쓰기
    다음 글
    Gson 직렬화/역직렬화를 이용하여 데이터를 가공하기
    이전 글
    갤럭시 웨어러블 앱처럼 컴퓨터에서 갤럭시 버즈를 컨트롤 할 수 있는 프로그램 소개!
    • 이전
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • ···
    • 165
    • 다음

    티스토리툴바