Screen/GNUScreen is a free software developed by GNU program for command line terminal switching, you can use the software to connect multiple local or remote command line sessions at the same time and switch between them freely. It can be viewed as the command line interface version of the window manager. Although Screen is powerful, it is difficult to configure it. Most users have no idea about its advanced functions, and of course it is impossible to explore its full potential. With the release of Ubuntu9.04
Screen beautification/
Screen beautification/
GNU Screen is a free software developed by GNU program for command line terminal switching. You can use the software to connect multiple local or remote command line sessions at the same time, and switch between them freely. It can be viewed as the command line interface version of the window manager. Although Screen is powerful, it is difficult to configure it. Most users have no idea about its advanced functions, and of course it is impossible to explore its full potential.
With the release of Ubuntu 9.04, developers have brought users a Screen-based simplified version. In a text-based environment, a window management function is provided to allow users to separate sessions and restore them. When you create a Screen window, the current task list is displayed, highlighting the activity window. The status bar at the bottom shows the CPU load, memory usage, number of users logging on to the system, Ubuntu version, battery status, and Wi-Fi signal strength.
GNU Screen can be viewed as the command line interface version of the window manager. It provides a unified interface for managing multiple sessions and corresponding functions.
Session recovery
As long as the Screen itself is not terminated, all sessions running inside it can be recovered. This is especially useful for remote login users-even if the network connection is interrupted, the user will not lose control over the opened command line session. You only need to log on to the host again and execute screen-r to resume the session operation. You can also execute the detach command when you leave temporarily to suspend the Screen (switch to the background) when the program in it runs normally ). This is similar to VNC in the graphic interface.
Multiple windows
In the Screen environment, all sessions run independently and have their own numbers, inputs, outputs, and window caches. You can switch between different windows by using the shortcut key and redirect the input and output of each window freely. Screen implements basic text operations, such as copying and pasting. It also provides a function similar to the scroll bar to view the historical records of window conditions. The window can also be split and named, and you can monitor the activity of the background window.
Session sharing
Screen allows one or more users to log on to a session multiple times from different terminals and share all the features of the session (for example, you can see identical output ). It also provides a window access permission mechanism to protect the window password.