1 2 3 4 5 6 7 8 9 10 11 |
#!/bin/bash # ## incremento de una variable echo NUM=0 while [ $NUM -lt 10 ] do ((NUM+=1)) echo $NUM done echo |
1 2 3 4 5 6 7 8 9 10 11 |
#!/bin/bash # ## incremento de una variable echo NUM=0 while [ $NUM -lt 10 ] do ((NUM+=1)) echo $NUM done echo |