---

Find Length of String in Bash

There are multiple ways to get the length of a string in bash programming or from the bash terminal. Some of these will surprise you. They are very handy and useful when doing work in the shell, and all are shown in this article with simple examples.

Get the Free Newsletter!

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