Linux 공통

screen

1. Intro

Use multiple shell windows from a single SSH session.
Keep a shell active even through network disruptions.
Disconnect and re-connect to a shell sessions from multiple locations.
Run a long running process without maintaining an active shell session.

ref> https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/

 

2. Install

yum install screen

 

3. Command

# session list 확인

screen -list

# 세션 신규 생성

screen -S [session name]

# 세션 재진입

screen -r [session name]

# 세션 탈출 : session 내에서 작업은 계속 진행되는 상태

Ctrl + A, D

# 세션 종료

진입 후 exit

Back To Top