×

This article covers how to use screen commands in ubuntu 20.04. Screen or GNU Screen is a terminal multiplexer. In other words, it means that you can start a screen session and then open any number of windows (virtual terminals) inside that session. Processes running in Screen will continue to run when their window is not visible even if you get disconnected.


How to Install Linux GNU Screen on Ubuntu ?

1. Check if it is installed on your system by typing:

$ screen --version

2. If you don't have screen installed on your system, you can easily install it using the package manager of your distro.

Install Linux Screen on Ubuntu and Debian:

$ sudo apt update
$ sudo apt install screen

3. To Install Linux Screen on CentOS and Fedora:

$ sudo yum install screen

4. To start a screen session, simply type screen in your console:

$ screen


Most common commands for managing Linux Screen Windows:

  • Ctrl+a c Create a new window (with shell).
  • Ctrl+a " List all windows.
  • Ctrl+a 0 Switch to window 0 (by number).
  • Ctrl+a A Rename the current window.
  • Ctrl+a S Split current region horizontally into two regions.
  • Ctrl+a | Split current region vertically into two regions.
  • Ctrl+a tab Switch the input focus to the next region.
  • Ctrl+a Ctrl+a Toggle between the current and previous windows
  • Ctrl+a Q Close all regions but the current one.
  • Ctrl+a X Close the current region.



Here is a complete guide on how to configure the DNS caching-only server on CentOS 8.



Here, you will learn how to install and configure a DNS Server on CentOS 8 machine.




More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com