Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #check #strings #equal #shell
ADD COMMENT
Topic
Name
9+4 =