← All Articles

Simple sysadmin tools - Screen on CentOS

Installing Screen on CentOS

[ ~]$: yum install screen

 

Creating a new screen

[ ~]$: screen

 

Detaching from an active screen

Ctrl-A D

 

Force detaching from another session

[ ~]$: screen -d

 

Listing all screens

[ ~]$: screen -ls

 

Re-attaching to a screen

[ ~]$: screen -ls


There is a screen on:
	2257.pts-0.myServer	(Detached)
1 Socket in /var/run/screen/S-my_root.

[ ~]: screen -r 2257

 

Exiting a screen

[ ~]$: exit

 

Made with JoyBird