“Foolproof Your Bash Script” – Some Best Practices

I am a DevOps practitioner and a lazy one too, so whenever we come across any task that needs to be repeated, we create a bash script. I have been doing this for a long time and after doing a lot of mistakes, I figured that if we follow some basic rules we can make our script more portable and less prone to failure when semantics...

by Nitin Bhadauria
Tag: shell script


Startup Script Using XdoTool

(Xdotool is a tool that simulates user key movements.) Usually when we start to work , we usually require some apps to be running. In my case I have to run a grails app, sql , subversion and IDE in different tabs of same terminal. Normally it would take almost 1-2 minutes if I do it manually.So I created a shell script using...

by Hitesh Bhatia
Tag: shell script