Difference between revisions of "A Brief Introduction to GNU Screen workshop"

From HOPE Wiki
Jump to: navigation, search
(Adding shared notes and editing for clarity ease of use)
 
Line 9: Line 9:
 
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.
 
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.
  
== Registration ==
 
  
 +
== 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
  
[https://RegistrationLinkTBD.com registration link info TBD]
+
Newer Fedora:
 +
 +
  dnf install screen
  
== Materials ==
+
Debian/Ubuntu/Mint:
 +
 
 +
  sudo apt-get install screen
 +
 
 +
== Slides ==
 +
The slides are on [https://github.com/murphnj/screenpresentation/ github] <br> 
 +
The slides for HOPE are [https://github.com/murphnj/screenpresentation/blob/master/presh.tpp presh.tpp].
  
 +
=== Viewing the slides ===
 +
[https://github.com/cbbrowne/tpp 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.
  
There are no physical supplies to be had.  Aside from a Unix variant or antoher computer than can run screen.
 
  
== Required Software ==
+
== Video ==  
 +
The pre-recorded video is available here: [https://peertube.linuxrocks.online/videos/watch/c1870d86-dbe3-4412-b758-a82b5692217c]
  
If the attendees can load screen before starting the workshop, they will have a litte more time to explore the program.  GNU/Linux users will have instructions within the workshop, Windows and Mac users should download ahead of time.
+
The full Workshop video, including the Q&A will be posted here when it is ready.
  
== Links ==
+
== Shared Notes ==
The slides are at: [https://github.com/murphnj/screenpresentation/blob/master/presh.tpp]<br>  The slides for HOPE are presh.tpp.
+
Screen command cheat sheet:
 +
* https://gist.github.com/jctosta/af918e1618682638aa82
 +
* https://gist.github.com/miguelmota/0e1189d89acfb97bd185c470505c1ded
  
 +
In depth documenttion:
 +
* https://wiki.archlinux.org/index.php/GNU_Screen
 +
* https://www.linode.com/docs/networking/ssh/using-gnu-screen-to-manage-persistent-terminal-sessions/
 +
* https://codingrandomly.com/2018/07/running-screen-in-wsl/
  
The pre-recorded video will be available here: [https://peertube.linuxrocks.online/videos/watch/c1870d86-dbe3-4412-b758-a82b5692217c]
+
Tips:
 +
* screen -RR: create or resume an existing screen session
 +
* You can [https://www.gnu.org/software/screen/manual/html_node/Resize.html resize] window splits

Latest revision as of 23:32, 1 August 2020

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