Recommended read: PIPEFAIL: How a missing shell option slowed Cloudflare down https://blog.cloudflare.com/pipefail-how-a-missing-shell-option-slowed-cloudflare-down/
Tag bash
I've recently been doing similar with some of my utilities, albeit with an informal comparison between Ruby and Go versions, but would agree that for large, production critical scrips, this is a great way to do it
Recommended read: Rewriting Bash scripts in Go using black box testing https://stackoverflow.blog/2022/03/09/rewriting-bash-scripts-in-go-using-black-box-testing/
Post details
The Bash logo was one of my proudest non-code open source contributions. So cool to see it on popular videos and articles. 😎
Justin Dorfman (@jdorfman)Sun, 27 Feb 2022 01:43 GMT
Recommended read: shell - What is the difference between the Bash operators [[ vs [ vs ( vs ((? - Unix & Linux Stack Exchange https://unix.stackexchange.com/questions/306111/what-is-the-difference-between-the-bash-operators-vs-vs-vs
Post details
The hardest problem in computer science is escaping a quotation mark in a bash string.
Lorin Hochstein (@norootcause)Mon, 17 May 2021 15:32 +0000
Recommended read: Escaping strings in Bash using !:q | Simon Willison’s TILs https://til.simonwillison.net/til/til/bash_escaping-a-string.md
Post details
TIL that you can use the "DEBUG" trap to step through a bash script line by line
🔎Julia Evans🔍 (@b0rk)Sat, 03 Oct 2020 15:24 +0000
Recommended read: Take care editing bash scripts https://thomask.sdf.org/blog/2019/11/09/take-care-editing-bash-scripts.html
Post details
Surrounding a bash command with () will not persist directory changes So instead of cd ios && pod install && cd .. You can do: (cd ios && pod install) Pretty neat!Kadi Kraman (@kadikraman)Sat, 04 Apr 2020 14:59 +0000
I used to write a lot of shell scripts before realising that what I was trying to do was treat shell scripting as a "full" scripting language (I won't define here what I mean by "full").
Its not - reach for a higher level scripting language like Ruby or Python when things are getting more complicated, and allow shell scripts to glue things together, or be for quick tasks maybe a few lines long.
When you do write them, this advice is great but it's definitely worth gaining understanding of when you should and shouldn't use them.
Recommended read: Anybody can write good bash (with a little effort) https://blog.yossarian.net/2020/01/23/Anybody-can-write-good-bash-with-a-little-effort
Recommended read: Bash $* and $@ https://eklitzke.org/bash-$*-and-$@
Recommended read: Things You Didn't Know About GNU Readline https://twobithistory.org/2019/08/22/readline.html
Automating Promotion of Jekyll Posts from Draft to Post (2 mins read).

The handy script I've created to automate publishing a draft in Jekyll, with handy Zsh + Bash autocomplete.
DevOpsDays London 2018 (51 mins read).

My writeup of my first DevOpsDays conference, and the awesome talks and conversations I was part of.
Extracting SSL/TLS Certificate Chains Using OpenSSL (1 mins read).
A quick one-liner to get you the full certificate chain in .pem
format.
You're currently viewing page 1 of 1, of 16 posts.