array name

How do I define array in a bash shell script? How do I find out bash array length (number of elements) while running a script using for shell loop?

{ 16 comments }