screen Command Examples

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.

screen

screen -S {{session_name}}

screen -dmLS {{session_name}} {{command}}

screen -ls

screen -r {{session_name}}

<Ctrl> + A, D

<Ctrl> + A, K

screen -X -S {{session_name}} quit