---

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.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis