Bash: Compare Text
#!/bin/bash echo "Enter text:" read text1 echo "Enter more text:" read text2 if test $text1 != $text2; then echo "they are not identical" else echo "they are identical" fi exit 0