Linux screen Command
What is Linux screen Command?
In this tutorial we learn how to use screen
command in Linux. screen
is a screen manager with VT100/ANSI terminal emulation.
How to Install Screen
Install Screen on Ubuntu / Debian / Kali Linux / Raspbian
sudo apt-get install screen
sudo apt install screen
Install Screen on Fedora / RHEL / CentOS
yum install screen
To use dnf
dnf install screen
Install Screen on Alpine
apk add screen
Install Screen on Arch Linux
pacman -S screen
Install Screen on Windows (WSL2)
sudo apt-get update
sudo apt-get install screen
Install Screen on MacOS
brew install screen
screen Syntax
screen [ -options ] [ cmd [ args ] ]
screen -r [pid.tty.host]
Basic screen commands
Screen command help and manual pages
We can use man
and info
command to see the manual page of screen
command. screen
command also have --help
option to show list of options.
To open man page for screen
command we can use command below. To exit man or info page you can press q
.
man screen
To open info page for screen
command we can use command below.
info screen
To open help page from screen
command we can run command below.
screen --help
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use screen
in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.