Bash script template

Thu 20 April 2017 by admin

Writing bash scripts is a daily basis for sysops/devops teams. Some parts of each written script stay the same like being verbose for easy debugging, so it's good to have some templates. One of them helps us to deal with logs, which are written to log file and when something goes wrong also the failed step is written to standard output i.e. could be easily catch up with cron to send email alert. https://gist.github.com/witalisoft/80da279e061c96d1e09dd3bd4e6fb907


Comments