Beginning with the Shell
Tutorial Room A | Thu 22 Jan 10:45 a.m.–12:25 p.m.
Presented by
-
Peter Chubb
@numbat@mastodon.au
https://trustworthy.systems/people?cn=Peter+Chubb
Peter has been using Unix since 1979, and submitting patches first to Unix then to Linux since the mid '80s. He's reasonably well known in the Australian open source community; in the last few years has mostly been contributing to the LionsOS and seL4 projects.
Peter Chubb
@numbat@mastodon.au
https://trustworthy.systems/people?cn=Peter+Chubb
Peter has been using Unix since 1979, and submitting patches first to Unix then to Linux since the mid '80s. He's reasonably well known in the Australian open source community; in the last few years has mostly been contributing to the LionsOS and seL4 projects.
Abstract
The POSIX Shell is a really powerful tool. If used properly, it can ease your life considerably. If used improperly it will get in your way.
In this tutorial you will learn when (and when not) to use a shell script to aid your work. We will cover the things that people mostly get wrong (quoting, variable expansion), and best practices for efficient shell scripts (basically, reworking things as a sequence of filters instead of using shell loops).
You will need to bring a laptop running Linux, BSD, or MacOSX, and know how to get a terminal window on your laptop. You should have basic keyboard skills, and know how to use a text editor. We will be using standard tools like grep, sed, ls, echo, etc., to explore what the shell can do and how it works.
The POSIX Shell is a really powerful tool. If used properly, it can ease your life considerably. If used improperly it will get in your way.
In this tutorial you will learn when (and when not) to use a shell script to aid your work. We will cover the things that people mostly get wrong (quoting, variable expansion), and best practices for efficient shell scripts (basically, reworking things as a sequence of filters instead of using shell loops).
You will need to bring a laptop running Linux, BSD, or MacOSX, and know how to get a terminal window on your laptop. You should have basic keyboard skills, and know how to use a text editor. We will be using standard tools like grep, sed, ls, echo, etc., to explore what the shell can do and how it works.