📅  最后修改于: 2022-03-11 14:51:23.561000             🧑  作者: Mango
VAR1="Linuxize"
VAR2="Linuxize"
if [ "$VAR1" = "$VAR2" ]; then
echo "Strings are equal."
else
echo "Strings are not equal."
fi