How to define a array value in Shell Programming?

How to define a array value in Shell Programming?

Senior Developer Asked on December 7, 2017 in LINUX.
Add Comment
1 Answer(s)

 

#!/bin/sh
ARRAY=(1 2 3)

echo ${ARRAY[*]}

 

Team Leader Answered on December 28, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.