linux:bash
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:bash [04/07/2025 10:57] – andrew | linux:bash [10/09/2025 12:56] (current) – [for loop] andrew | ||
---|---|---|---|
Line 169: | Line 169: | ||
do | do | ||
echo " | echo " | ||
+ | done | ||
+ | |||
+ | |||
+ | subnets= | ||
+ | subnet-02dc9fac8fd877129 | ||
+ | subnet-0f8b1423c13b2cd79 | ||
+ | subnet-049f0d086b3590d8b | ||
+ | |||
+ | |||
+ | for subnet in ${subnets[@]} | ||
+ | do | ||
+ | echo " | ||
done | done | ||
linux/bash.1751626643.txt.gz · Last modified: by andrew