May 27th 2018

Shell Scripting For Speed

Inspired by a forum thread Make a choice of which shell you use, that's the "#/bin/..." at the top: dash: very small & fast but [...]

February 18th 2018

Bash: Test if a string is a web link

I sometimes need this in my scripts: if a string starts with either http:// or https://, it must be a web link. How can I test for that in a single [...]

February 27th 2018

Load bash builtin from file

A few years ago I noticed that sleep is not built into bash and instead calls an external command each time. I like to make my scripts responsive and [...]