How to compare 2 strings in UNIX shell script? (7 Solutions!!)
Channel: Roel Van de Paar
Date: 26/09/2020

How to compare 2 strings in UNIX shell script?

Helpful?  Please support me on Patreon: https://www.patreon.com/roelvandepaar

With thanks & praise to God, and with thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license & others | With thanks to user Siva (https://unix.stackexchange.com/users/270935), user Scott (https://unix.stackexchange.com/users/23408), user RonJohn (https://unix.stackexchange.com/users/39069), user lynxlynxlynx (https://unix.stackexchange.com/users/20437), user Kusalananda (https://unix.stackexchange.com/users/116858), user Kiwy (https://unix.stackexchange.com/users/53092), user igiannak (https://unix.stackexchange.com/users/52750), user Devjith (https://unix.stackexchange.com/users/306611), user allo (https://unix.stackexchange.com/users/96512), and the Stack Exchange Network (http://unix.stackexchange.com/questions/465695). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com.