---

Check if a String Contains a Substring in Bash

One of the most common operations when working with strings in Bash is to determine whether or not a string contains another string.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis