如何在shell里面使用数组变量

2024-10-15 22:17:58

1、打开终端窗口。

如何在shell里面使用数组变量

2、这样可以创建数组变量。

如何在shell里面使用数组变量

3、我们可以用索引来调用数组元素。

如何在shell里面使用数组变量

4、星号是全部显示。

如何在shell里面使用数组变量

5、我们可以改变他的值。

如何在shell里面使用数组变量

6、还可以用unset删除元素。

如何在shell里面使用数组变量
猜你喜欢