Safe ways to do things in bash
I&#x27;ve written a ridiculous amount of shell script in my day, especially when doing &quot;devops&quot; before we had a term like &quot;devops&quot; to describe it.  I&#x27;ve fallen in almost every pit bash has.  With that background, here is my opinion.<p>1.  This article contains excellent advice and should be starred for later retrieval.<p>2.  Having basic scripting skills will make you a <i>way</i> better programmer.  Many times I&#x27;ve done huge refactors and needle-in-hay-stack searches using only shell commands.<p>3.  Shell is the universal language.<p>4.  Bash isn&#x27;t that bad once you get used to it (seriously. 
 I&#x27;ll grant you tho that arrays are still nasty ;-) ).<p>5.  Bash is not that dangerous if you follow best practices.  Don&#x27;t be lazy!<p>6.  You will not regret getting really good at shell script.  You&#x27;ll have to take my word for it now because you don&#x27;t know what you&#x27;re missing.