Write a shell script to read two strings and display whether it is equal, not equal, null strings or string with special characters. code example
Example: bash scripting string comparison
#!/bin/bash
VAR1="Linuxize"
VAR2="Linuxize"
if [ "$VAR1" = "$VAR2" ]; then
echo "Strings are equal."
else
echo "Strings are not equal."
fi