What's the best way of adding to a bash array when the operation takes place inside a for loop? Process Substitution? My bash isn't that advanced!
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 ...
How to use a Bash script for-loop for system administration in Linux Your email has been sent Bash scripting remains a staple of my endeavors in Linux as a system administrator, and I use it every day ...