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

From HOPE Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
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
 +
 +
Newer Fedora:
 +
 +
  dnf install screen
 +
 +
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].
  
[https://RegistrationLinkTBD.com registration link info TBD]
+
=== 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.
  
== Materials ==
 
  
 +
== Video ==
 +
The pre-recorded video is available here: [https://peertube.linuxrocks.online/videos/watch/c1870d86-dbe3-4412-b758-a82b5692217c]
  
There are no physical supplies to be had. Aside from a Unix variant or antoher computer than can run screen.
+
The full Workshop video, including the Q&A is available on the 2600 YouTube channel:<br>
 +
https://www.youtube.com/watch?v=d5X6LNb8nNA
  
== Required Software ==
+
== Shared Notes ==
 +
Screen command cheat sheet:
 +
* https://gist.github.com/jctosta/af918e1618682638aa82
 +
* https://gist.github.com/miguelmota/0e1189d89acfb97bd185c470505c1ded
  
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. 
+
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/
  
== Links ==
+
Tips:
The slides are at: [https://github.com/murphnj/screenpresentation]<br>  The slides for HOPE are presh.tpp.
+
* screen -RR: create or resume an existing screen session
The pre-recorded video will be available roughly when the workshop is given.  Soooooooon!
+
* You can [https://www.gnu.org/software/screen/manual/html_node/Resize.html resize] window splits

Latest revision as of 18:22, 23 December 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 is available on the 2600 YouTube channel:
https://www.youtube.com/watch?v=d5X6LNb8nNA

Shared Notes

Screen command cheat sheet:

In depth documenttion:

Tips:

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