Linux Array

Linux 数组:

#!/bin/bash

array_pt=( 1 2 3 4 5 6 )

echo "first element:"  ${array_pt[0]}


echo "the length of array_pt:" ${#array_pt[@]}  

 

posted @ 2017-07-06 16:45  北斗星的微博  阅读(158)  评论(0)    收藏  举报