This is a presentation on the Linux command line for beginners. It is written is markdown and run at the command line with slides.
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
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
Those attending the course will need to install the following
People will HomeBrew and then can:
brew install rsync lbzip2 htop nload nano vim ncdu curl wget telnet cowsay
People will need to install Ubuntu on the Windows Subsystem for Linux.
Then they can follow the apt
command, below:
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.
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.
-
https://tinyurl.com/linuxCLIintro points to the GitHub repo page.
-
You can clone the repo with
git clone https://tinyurl.com/linuxCLIintroGit