![]() This screen command will start a new window within the screen. You can start screen just by typing screen at the command prompt. ![]() If the screen command is not already present on your system, you can install it with the command below. Now let's check how to use this utility in Linux. This is practical to prevent involuntary ssh timeout session. Programs continue to run when their window is currently not visible and even when the whole screen session is detached from the user's terminal. All windows run their programs completely independent of each other. Furthermore, screen can divide a terminal display into multiple regions, each displaying the contents of a window. Screen manages a session consisting of one or more windows each containing a shell or other program. Then, at any time, you can create new (full-screen) windows with other programs in them (including more shells), kill the current window, view a list of the active windows, copy text between windows, switch between windows, etc. When screen is called, it creates a single window with a shell in it (or the specified command) and then gets out of your way so that you can use the program as you normally would. ![]() ![]() Here comes screen utility to help resume the sessions. Many times you have seen this ssh session getting terminated and you can not work anymore. You can use screen to keep running the program after you accidentally close the terminal, or even after you log out and later resume right wherever you are.Ī practical example is where you are running a task on a remote Linux machine into which you have an ssh session. Using this, you can run any number of console-based-applications, interactive command shells, course-based applications, etc. The screen or GNU screen is a terminal multiplexer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |