Bash For Loop Array: Iterate Through Array Values

Автор: | 2016-10-19

To declare an array in bash

Declare and an array called array and assign three values:

More examples:

To Iterate Through Array Values

Use for loop syntax as follows:

Example script for get ip addresses domains

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *