When you remotely log on to linux using telnet or SSH, if the connection is interrupted abnormally, the system opens a new session and cannot restore the original session. The screen command can solve this problem. The Screen tool is a terminal multi-path adapter. in essence, this means that you can use a single terminal window to run multi-terminal applications. Basic Command: open a session and name it temp: screen-Stemp to temporarily exit the session: ctrl-ad and enter the name tem again
When you remotely log on to linux using telnet or SSH, if the connection is interrupted abnormally, the system opens a new session and cannot restore the original session. The screen command can solve this problem.
The Screen tool is a terminal multi-path adapter. in essence, this means that you can use a single terminal window to run multi-terminal applications.
Basic commands:
Open a session and name it temp: screen-S temp
Temporarily exit this session: ctrl-a d
Enter the session named temp again: screen-r temp
Check the running session: screen-ls