If you're working with a large amount of data in your Bash scripts, arrays will make your life a lot easier. Some people get intimidated by the syntax. But once learned, it will make your scripts more ...
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 ...
In part II of this series of articles on doing date math from the command line we want to try to solve a problem we noted in part I: passing the date command a date specification something like "the ...