For string equality comparison, use: if [[ "$s1" == "$s2" ]]. For string does NOT equal comparison, use: if [[ "$s1" != "$s2" ]].
確定! 回上一頁