Shell Scripting Clinic
Published by O'Reilly Media, Inc.
Everything you wanted to know about the shell but were afraid to ask
A new way to interact
This event will be presented in a new format that brings the audience into the action. The first 50 people to join get optional camera and mic access for the opportunity to ask questions and interact directly with your trainer and peers. You can turn your camera off at any time, and you can always interact through chat. Before joining the course, please take a moment to read the O'Reilly learning platform code of conduct.
Course outcomes:
- Understand how to use internal field separators
- Learn how globs and regular expressions differ
- Understand how to use terminal codes in different contexts
- Learn how to interpret background task management output
- Understand how command auto-completion works
Course description:
Join expert Ian Miell to deepen your understanding of a core command-line technology through discussion of specific issues that confuse many engineers, such as why terminals only sometimes show the output of commands even when redirected, why the shell uses globs and regular expressions and why they differ, and how command completion works. Find answers directly related to challenges you face when writing shell scripts or operating on the command line and leave with increased confidence in your ability to write and review shell scripts.
What you’ll learn and how you can apply it
- Recognize shell concepts, tools, and techniques
- Write more robust shell scripts
This live event is for you because...
- You’re a software engineer.
- You work with the command line and shells.
- You want to become a senior engineer.
Prerequisites
- An available Linux shell
- For browser users, a Katacoda scenario such as the DevOps tools sandbox is fine.
- Some experience with the command line, ideally with bash and/or Linux
Recommended follow-up:
- Read bash Idioms (book)
- Read Learning the bash Shell, third edition (book)
- Read bash Cookbook, second edition (book)
Schedule
The time frames are only estimates and may vary according to how the class is progressing.
Part I (60 minutes)
- Presentation: Redirection
- Break
Part II (70 minutes)
- Presentation: Input and output; best practice; bash features
- Break
Part III (50 minutes)
- Presentation: Variables; common confusions
- Q&A
Your Instructor
Ian Miell
Ian Miell has over twenty years' experience in IT, writing, running, architecting, and maintaining software for some of the world's busiest systems.
He has written the book 'Docker in Practice' (published by Manning), 'Learn Bash the Hard Way' (published on Leanpub), as well as various training courses and videos.