Answers for "shell check if string is not equal"

C#
1

check strings is equal shell

#!/bin/bash

VAR1="Linuxize"
VAR2="Linuxize"

if [ "$VAR1" = "$VAR2" ]; then
    echo "Strings are equal."
else
    echo "Strings are not equal."
fi
Posted by: Guest on June-08-2021

Code answers related to "shell check if string is not equal"

C# Answers by Framework

Browse Popular Code Answers by Language