Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash compare two strings

if [ "$s1" == "$s2" ]
then
	stuff
fi
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #bash #compare #strings
ADD COMMENT
Topic
Name
3+7 =