---

How to Compare Strings in Bash

When writing Bash scripts you will often need to compare two strings to check if they are equal or not.