preload preload preload preload

Screen Command In Linux

Introduction

When screen is called, it creates a single window with a  shell  in  it and then gets out of your way so that you can use the program as you normally would.  Then, at any time, you  can create new windows with other programs in them (including more shells), kill existing windows, view a list of windows, turn  output  logging  on and off, copy-and-paste text between windows, view the scroll back history, switch between windows in whatever manner you wish, etc.  All  windows  run  their  programs completely independent of each other.  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.  When a program terminates, screen (per  default)  kills  the window  that  contained  it.  If this window was in the foreground, the display switches to the previous  window;  if  none  are  left,  screen exits.

 Usage

To start screen us the command screen.

$ screen

In the virtual terminal you can start any applications as you normaly done in normal terminals. Even if you close the virtual terminal the application will continue running in the back ground.

To list how many screens where on use the following command.

$ screen -ls
There are screens on:
        6475.pts-8.user-desktop        (Attached)
        6400.pts-6.user-desktop        (Attached)
2 Sockets in /var/run/screen/S-user.

To reattaches a screen session use the following command.

$ screen -d -r 6400.pts-6.user-desktop

To removed the distroyed sessions use the following command.

 $ screen -wipe
  • Share/Bookmark
  • Leave a Reply

    * Required
    ** Your Email is never shared