Ciclo for in bash
Jump to navigation
Jump to search
#!/bin/bash for i in `seq 20 100`; do ping -c 2 192.168.1.$i ; done
#!/bin/bash for i in $( ls ); do echo item: $i done