screen

Hold a session open on a remote server. Manage multiple windows with a single SSH connection. See also tmux and zellij. More information: <https://manned.org/screen>.

Install

All systems
curl cmd.cat/screen.sh
Debian Debian
apt-get install screen
Ubuntu
apt-get install screen
Alpine
apk add screen
Arch Arch Linux
pacman -S screen
image/svg+xml Kali Linux
apt-get install screen
CentOS
yum install screen
Fedora
dnf install screen
Windows (WSL2)
sudo apt-get update sudo apt-get install screen
OS X
brew install screen
Raspbian
apt-get install screen
Docker
docker run cmd.cat/screen screen powered by Commando

Hold a session open on a remote server. Manage multiple windows with a single SSH connection. See also tmux and zellij. More information: <https://manned.org/screen>.

  • Start a new screen session:
    screen
  • Start a new named screen session:
    screen -S session_name
  • Start a new daemon and log the output to `screenlog.x`:
    screen -dmLS session_name command
  • Show open screen sessions:
    screen -ls
  • Reattach to an open screen:
    screen -r session_name
  • Detach from inside a screen:
    <Ctrl> + A, D
  • Kill the current screen session:
    <Ctrl> + A, K
  • Kill a detached screen:
    screen -X -S session_name quit

© tl;dr; authors and contributors