[ "$string1" = "$string2" ] && echo OK || echo NO
Last active
January 13, 2025 19:50
-
-
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