Bash Pedia
Tutorial
Knowledge-Base
Awesome
How to find the length of an array in shell?
arrays
bash
shell
Question
How to find the array length in unix shell?
Arunachalam
1
57
7/25/2018 9:29:17 PM
Popular Answer
$$ a=(1 2 3 4) $$ echo ${#a[@]} 4
ghostdog74
https://bash.programmingpedia.net/en/knowledge-base/1886374/how-to-find-the-length-of-an-array-in-shell-#answer-0
70
12/11/2009 7:51:32 AM
View more on Stack Overflow
Licensed under:
CC-BY-SA
with
attribution
Not affiliated with:
Stack Overflow
Icon