Programming By Stealth
PBS 143 — Shell Script Basics

PBS 143 — Shell Script Basics

Programming By Stealth

57:42

About this episode

In this week’s episode of Programming By Stealth, Bart Busschots starts building out one more tool in our toolbox: shell scripts. Bart starts with the basics explaining how to tell our little scripts which shell to run using the shebang line, the structure of shell scripts, commenting, assigning, and using variables, and how to write strings without having to escape every space and unusual character.

Throughout the installment, Bart refers back to things we learned in Taming the Terminal podcast and tutorial. If you haven’t listened to or read this series, you can download the book Helma helped us to produce using the Apple Books Store (https://books.apple.com/us/book/taming-the-terminal/id1525625941), or access it in a beautiful HTML version at ttt.bartificer.net/…, both of which have the audio of the podcast embedded within. You can find even more formats at podfeet.com/tttbook.

Read an unedited, auto-generated transcript: CCATP_2023_01_07 (https://podfeet.com/transcripts/CCATP_2023_01_07.html)

More from Programming By Stealth

In this week's installment of Programming By Stealth, Bart wraps up his Jekyll on GitHub miniseries as he explains how to use data files, control permalinks, and set defaults in our front matter. At t…

1h 10m

In our penultimate installment of the Jekyll miniseries, Bart teaches about collections. They're a bit difficult to explain briefly because collections can be whatever you want them to be. To illustra…

1h 8m

Bart continues us on our journey to use Jekyll with GitHub Pages to make a proper website. Most proper websites these days include a blog, so that's what he tackles this week. With a few for loops, a…

1h 4m

We dust off our memory from where we left off learning about Jekyll back in PBS 181 in June of last year. After some housekeeping, Bart takes us through the challenge solution from PBS 181, and then t…

1h 14m