Mailing the story:

How to Compare Strings in Bash

  • linuxize.com; By linuxize (Posted by on CST)
  • Groups: GNU, Linux
When writing Bash scripts you will often need to compare two strings to check if they are equal or not. Two strings are equal when they have the same length and contain the same sequence of characters.
What is your name?

What is your E-Mail address?

What is the email address of the recipient?

Add a special note from yourself?