Skip to content
PBS 144 – Basic Shell Script IO episode artwork

Feb 4, 2023 43 min

PBS 144 – Basic Shell Script IO

from Programming By Stealth

This week our guest is Bart Busschots with Programming By Stealth 144. When last we recorded, Bart started teaching us the basics of shell scripting using Bash. We learned how to collect terminal commands into a reusable shell script, but we didn't learn how to accept any kind of input. In this installment, we learn how to take inputs either from the execution of the command or from user input and how variable names are created for the different ways of receiving input. We also learn about Exit Codes, which are really error codes, and how they can be used in boolean logic. This knowledge will come into play when we learn next time about how to do conditionals and loops. It's a short episode, and as Bart says, "not a heavy lift." You can find Bart's fabulous tutorial shownotes at pbs.bartificer.net. Read an unedited, auto-generated transcript: CCATP_2023_02_04

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

PBS 144 – Basic Shell Script IO

0:00 43:09

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Programming By Stealth?

This episode is 43 minutes long.

When was this Programming By Stealth episode published?

This episode was published on February 4, 2023.

Can I download this Programming By Stealth episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.