How to Use a Key-Value Dictionary in bash

In any programming language, a dictionary is one of the most fundamental data structures that can store a set of objects in the form of key-value pairs. While bash is not a general-purpose programming language, bash version 4 and higher supports dictionaries or associative arrays natively. This tutorial demonstrates how you can use a key-value dictionary in bash.