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 screenInstall Screen on Fedora / RHEL / CentOS
yum install screenTo use dnf
dnf install screenInstall Screen on Alpine
apk add screenInstall Screen on Arch Linux
pacman -S screenInstall Screen on Windows (WSL2)
sudo apt-get update
sudo apt-get install screenInstall Screen on MacOS
brew install screenscreen 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 screenTo open info page for screen command we can use command below.
info screenTo open help page from screen command we can run command below.
screen --helpRelated 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.