Listen "PBS 144 – Basic Shell Script IO"
Episode Synopsis
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
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
More episodes of the podcast Programming By Stealth
PBS Tidbit 16 — How Podfeet.com Works
10/01/2026
PBS Tidbit 14 — Coding with AI
25/10/2025
PBS Tidbit 13 — PowerShell Tames Monty
19/07/2025
PBS 180 of X — Theming Jekyll
25/05/2025
PBS Tidbit 12 — XKPasswd Rewrite Exits Beta
23/04/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.