Programming By Stealth

PBS 144 – Basic Shell Script IO


Listen Later

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

...more
View all episodesView all episodes
Download on the App Store

Programming By StealthBy Bart Busschots & Allison Sheridan

  • 5
  • 5
  • 5
  • 5
  • 5

5

14 ratings


More shows like Programming By Stealth

View all
Security Now (Audio) by TWiT

Security Now (Audio)

1,998 Listeners

NosillaCast Apple Podcast by Technology with an EVER so slight Apple bias

NosillaCast Apple Podcast

162 Listeners

Wait Wait... Don't Tell Me! by NPR

Wait Wait... Don't Tell Me!

38,762 Listeners

Taming the Terminal by Bart Busschots & Allison Sheridan

Taming the Terminal

20 Listeners

Chit Chat Across the Pond by Allison Sheridan

Chit Chat Across the Pond

9 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

16,002 Listeners