Horje
How to start screen in Linux

Here I will show starting screen work in Linux.

Linux Screen means when you will go offline then linux screen will run your work on VPS or Dedicated Server.

Open putty and Login to SSH


Check Screen Version

Run Following Command on Putty
Example: COMMAND
screen –version

Output should be:

Check Screen Version

Install Screen on Centos Linux Server if so far not installed

Run Following Command on Putty
Example: COMMAND
yum install screen

Install Screen on Debian or Ubuntu Linux Server if so far not installed

Run Following Command on Putty
Example: COMMAND
sudo apt install screen

Now, Start Screen on Linux

Run Following Command on Putty
Example: COMMAND
screen

List of Screens which are running in Linux Server

Run Following Command on Putty
Example: COMMAND
screen -ls

Go to listed Screen

Go to Listed Screen Replace id Run Following Command on Putty
Example: COMMAND
screen -r 1643

Remove or Stop running screen

To kill screen process. Just replace id from listing screen at following way. Run Following Command on Putty
Example: COMMAND
kill -9 985647

List of Command

Ctrl + a and c – Open a new screen window. Ctrl + a and " – List all open windows. Ctrl + a and 0 – Switch to window 0 (or any other numbered window). Ctrl + a and A – Rename the current window. Ctrl + a and S - Split the screen horizontally, with the current window on top. Ctrl + a and | - Split the screen vertically, with the current window on the left. Ctrl + a and tab – Switch focus between areas of the split screen. Ctrl + a and Ctrl + a – Switch between current and previous windows. Ctrl + a and n – Switch to the next window. Ctrl + a and p – Switch to the previous window. Ctrl + a and Q – Quit all other windows except the current one.. Ctrl + a and X – Lock the current window. Ctrl + a and H – Create a running log of the session. Ctrl + a and M – Monitor a window for output (a notification pops up when that window has activity). Ctrl + a and _ - Watch a window for absence of output (such as when a file finishes downloading or a compiler finishes).

Remove dead screens

To remove all killed Screens run following command at Terminal

Example: COMMAND
screen -wipe

Output should be:






Related Articles
How to start screen in Linux Linux Screen Command

Single Articles
Check Screen VersionLinux Screen Command
Install Screen on Centos Linux Server if so far not installedLinux Screen Command
Install Screen on Debian or Ubuntu Linux Server if so far not installedLinux Screen Command
Now, Start Screen on LinuxLinux Screen Command
List of Screens which are running in Linux ServerLinux Screen Command
Go to listed ScreenLinux Screen Command
Remove or Stop running screenLinux Screen Command
List of CommandLinux Screen Command

Read Full:
Linux Screen Command
Category:
Command
Sub Category:
Linux Screen Command
Uploaded:
10 months ago
Uploaded by:
Admin
Views:
50
Tested on:
CentOS



Share on: