[ "$string1" = "$string2" ] && echo OK || echo NO
Created
December 11, 2023 19:25
-
-
Save yordanoweb/8637a55e61351615ddab28635f0557b4 to your computer and use it in GitHub Desktop.
Compare two strings from command line
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment