How to print help text in shell scripts

Good shell scripts should come with documentation that is easy to access. Usually some-script -h, some-script --help will print such help — if the developer was nice enough to include docs anyway. I think it’s a really important thing to include in any script you’re going to share with the public. I’ve seen and tried a few different methods over the years. Here are a few, how they work, and what I’m using today.

Read more →

Hello, macOS!

I threw together this post on macOS basics for my dad a few years back when he got his first MacBook. Copying it here in case it helps anyone else, or if I ever need to share again.

Read more →

← Previous :: Page 19 :: Next →