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[@]}