Archives for 2019 - Page 2
How to run multiple bash scripts in parallel
If you working as a Linux administrator or as a DevOps engineer then you might get a use case where you need to execute multiple bash scripts in parallel without…
Get the last ten business days in a Unix shell script
Shell script to get the last 10 weekdays and run some task for each date over an element array. #!/usr/bin/bash n=10 today=$(date +'%Y-%m-%d') for ((d=1; n>0; d++)) do # Adjust…
What is Site Reliability Engineer (SRE) Role?
What is Site Reliability Engineer (SRE) Role? Site Reliability Engineering (SRE) is a discipline that incorporates aspects of software engineering and applies them to infrastructure and operations problems. The main…
Regular Expression Reference
Regular Expression Reference 1) Write a regular expression to match pattern in email. match -eu before @ in email. Regex : 2)…
Shell script to pass multiple arguments with options
Shell script to pass multiple arguments with options This tutorial will help you to pass multiple arguments in a more organized manner. I have used two arguments "t" and "d"…