Related to bash string comparison not equal

Bash "If String Equals" Comparison - Complete guide ?

This article covers the equality comparison operator for the strings in Bash. In fact, you will be able to realize that the strings can be compared in Bash very easily irrespective of their length.

Two strings are equal when they have the same length and contain the same sequence of characters.