A Brief Introduction to GNU Screen workshop

From HOPE Wiki
Jump to: navigation, search

A brief introduction to GNU screen

Abstract

Screen is part of the GNU project, and is an overlooked utility that can make working on the command line much easier. Screen is a terminal multiplexer that allows for disconnecting remote sessions, multiple ways to enhance viewing of your command line sessions, and better ways to capture data from those sessions. I’ll show you how to use all of this, as well as how to install it under several GNU/Linux (and other) operating systems.


Materials

There are no physical supplies to be had. Aside from a Unix variant or another computer than can run screen.

Required Software

If the attendees can load screen before starting the workshop, they will have a little more time to explore the program. GNU/Linux users will have instructions within the workshop, Windows and Mac users should download ahead of time.

Installing Screen

On Centos 8:

 sudo yum install epel-release
 sudo yum install screen 

Redhat, older Fedora:

  yum install screen

Newer Fedora:

  dnf install screen

Debian/Ubuntu/Mint:

  sudo apt-get install screen

Slides

The slides are on github
The slides for HOPE are presh.tpp.

Viewing the slides

TPP is a terminal based presentation software built in Ruby. It is available in many distribution repositories, so you can probably install using the same instructions you used for screen above, but change "screen" to tpp.


Video

The pre-recorded video is available here: [1]

The full Workshop video, including the Q&A will be posted here when it is ready.

Shared Notes

Screen command cheat sheet:

In depth documenttion:

Tips:

  • screen -RR: create or resume an existing screen session
  • You can resize window splits