For more information, do take a look Here
Day: May 20, 2020
E-Book: Red Hat services solution: Container adoption program e-book
The Link to the Container adoption program e-book can be found at Here
Basic GNU Screen Usage on CentOS
Introduction
Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells. In other words, you can start any number of virtual terminals inside the session. The good thing is that processes running inside screen will continue to run even though the SSH session get disconnected.
GNU Screen Site
GNU Screen can be found on http://ftp.gnu.org/gnu/screen/
Source Code
You can get the source code from here
Using Screen
Screen can be easily installed on CentOS with just
# yum install screen
Naming a Named Session
You may be running many sessions and it is a good idea to name the session that you are starting.
screen -S your_preferred_screen_name
Listing running Screen Session
[user1@node1 ~]$ screen -ls There is a screen on: 2109.myScreenA (Detached) 1 Socket in /var/run/screen/S-user1
Reattach to a Screen Session
To connect back to the screen, just type the numeric id of the screen
screen -r 2109
Detaching from a Screen Session
Inside the Virtual Session, you can detach the screen with the command
Ctrl-a + d
[Press ctrl with “a” and “d” together]
If you are already outside the virtual session, you can detach an active session by
screen -d 2109
Customised Screen
If you a looking at how to split Screen using screen. Here is a good visual guide.
To Terminate the Screen Session,
Enter into the Session screen
screen -r 2109
exit
User Guide
https://www.gnu.org/software/screen/manual/screen.html#Startup-Files