Skip to content

Using Bash for Devops examples showing how to improve Bash error handling with the set builtin

Notifications You must be signed in to change notification settings

techabstraction/bash-for-devops

Repository files navigation

Using Bash for Devops

How to improve Bash error handling with the set builtin

This repo contains example files for Using Bash for DevOps, a blog post on Expedia Group Technology. The blog post contains full instructions for using the scripts.

Clone the repo.

git clone https://github.com/techabstraction/bash-for-devops.git

Change into the project directory.

cd bash-for-devops

To reset the files and start again, source the reset script as shown below, then type y at the confirmation dialogue.

source 0-reset-tutorial.sh

Note, you must use source to run the reset script above to ensure the file_name variable is unset. The other scripts in the repo should not be run using source.

About

Using Bash for Devops examples showing how to improve Bash error handling with the set builtin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages