-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux screen Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to screen on Linux, covering Arch Linux, CachyOS, and other distributions including terminal multiplexing, session management, and persistent terminals.
Arch/CachyOS:
# Install screen
sudo pacman -S screenDebian/Ubuntu:
sudo apt install screenFedora:
sudo dnf install screenBasic usage:
# Start screen
screen
# Opens new screen sessionDetach:
# Detach session
# Press: Ctrl+A then D
# Session continues runningShow sessions:
# List sessions
screen -ls
# Shows all screen sessionsReconnect:
# Reattach session
screen -r
# Reconnects to detached sessionNew window:
# In screen:
# Press: Ctrl+A then C
# Creates new windowNavigate:
# In screen:
# Ctrl+A then N - Next window
# Ctrl+A then P - Previous window
# Ctrl+A then 0-9 - Switch to window numberCheck installation:
# Check screen
which screen
# Install if missing
sudo pacman -S screenThis guide covered screen usage, terminal multiplexing, and session management for Arch Linux, CachyOS, and other distributions.
- tmux Guide - Modern terminal multiplexer
- tmux and screen Guide - Combined guide
- Bash Scripting Guide - Scripting basics
-
screen Documentation:
man screen
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.