Skip to content

SWC-Advanced-Microscopy/linux_cli_intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Command Line Intro

This is a presentation on the Linux command line for beginners. It is written is markdown and run at the command line with slides.

Installation

To run the presentation itself you will need to install slides plus some additional programs

Linux
sudo apt install figlet cmatrix cowsay jp2a snap
sudo snap install slides

NOTE: On at least Ubuntu, the snap install does not handle code execution properly. You could try installing via go (see the project README) or download the binary from the releases page and add to your path.

Mac with homebrew If you do not already have homebrew installed, first do:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Then:

brew install slides figlet cmatrix cowsay jp2a 

Running the presentation

The presentation must be executable. There are short scripts that do this then run it:

cd md_presentation
./run_linux_cli.md 

or

cd md_presentation
./run_linux_history.md 

Software for attendees to install

Those attending the course will need to install the following

On Mac

People will HomeBrew and then can:

brew install rsync lbzip2 htop nload nano vim ncdu curl wget telnet cowsay

On Windows

People will need to install Ubuntu on the Windows Subsystem for Linux. Then they can follow the apt command, below:

Linux

On Ubuntu/Debian people can:

apt install rsync lbzip2 htop nload nano vim ncdu curl wget telnet cowsay

If none of the above works, you could set up a Linux server with a temporary account and have people SSH into that. We therefore will do SSH first in the presentation, including how to do it with a shared key.

Attendees can edit the markdown files Typora or any text editor.

Alternatives to command line slides

There are, of course, better alternatives to doing your presentation at the command line. These include:

  • remark is a nice markdown-based system that is pretty simple and looks good.
  • slidev is also markdown-based but a little more complicated.
  • reveal.js is an HTML/CSS-based system that perhaps looks better than the above but is a little more complicated.

All the above are really good for presenting code, as they incorporate syntax highlighting and, at least in the case of reveal, allows highlighting and fading of specific lines of code as you move through slides.

Easy Access Links

About

Presentation for intro to Linux CLI using the Linux CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages