- Check whether Screen is installed
which screen
- If Screen is not installed on your system, run the following command:
- If your system uses yum, you can install Screen with the command below
yum install screen
- If your system uses apt, you can install Screen with the command below
apt install screen
- If your system uses yum, you can install Screen with the command below
- To run a Screen session, enter the screen command.
screen
- If your session disconnects for some reason, log back in to your server and run the screen -r command.
screen -r
This will reconnect you to your Screen session.