📅  最后修改于: 2022-03-11 14:50:35.391000             🧑  作者: Mango
#!/bin/bash
VAR1="Linuxize"
VAR2="Linuxize"
if [ "$VAR1" = "$VAR2" ]; then
echo "Strings are equal."
else
echo "Strings are not equal."
fi