If you are a traditional programmer, using bash for scripting may seem limiting sometimes, but for certain tasks, bash can be very productive. It turns out, some of the limits of bash are really ...
It’s quite easy to get bash to concatenate strings and do simple math on Linux, but there are a number of options for you to use. This post focusses on concatenating strings, but also shows how one of ...
I've set up my .bash_profile to colour code the hostname in the command prompt differently depending on which machine I'm on. I have a separate file for specifying the host colours, which is sourced ...
I'm working on learning some bash scripting skills, primarily how to deal with command line parameters, and I came across a problem. I'm trying to put my usage statement in a variable, and then just ...
Editor's Note: This article has been updated by its author. Thank you, Pat. Have you ever wanted to change the names of many files at once? Or, have you ever needed to use a default value for a ...