Tutorial: Beginning with the Shell (audio issues)

Опубликовано: 18 Июнь 2026
на канале: Linux.conf.au 2016 -- Geelong, Australia
410
0

NOTE: This recording was using the wrong microphone for the first half; audio was only switched over to the room mic later on. This tutorial can still be followed, but a lot of background noise / laptop typing can be heard. Unfortunately not much we can do about this in post :(

Peter Chubb
https://linux.conf.au/schedule/30111/...

The Bourne shell is universally available on every Linux system, from the least-powerful embedded device, to the largest supercomputer.
In this tutorial, we'll cover the basics of:
The Shell's input: how it reads words, splits them, expands special stuff, etc.
Control flow: case, if, while, for
Common utilities: sed, awk, grep, test, find, xargs, etc

After some introductory material, we'll spend the time working together to build a simple server for fortunes/fables entirely in shell.
To see the result, do
telnet lemon.ertos.nicta.com.au 8500

You will need to bring a laptop with you to do the exercises. I shall assume that you can edit a text file, and can get a terminal window going on your machine.