Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Install and Use screen on Linux

screen keeps processes alive when you close SSH. Handy for bots, builds or game consoles before you write a systemd unit.

Steps

  1. Install screen:

    sudo apt update
    sudo apt install -y screen
  2. Start a named session:

    screen -S myapp
  3. Inside screen, start your process. Detach without killing it: Ctrl+A then D.

  4. List and reattach:

    screen -ls
    screen -r myapp

Tips

  • With several sessions use screen -r PID or the exact name.
  • For long-lived services, move to a systemd unit when you can.

ext step

Always-on servers: Deploy your Cloud VPS.

Related guides