Created
January 26, 2018 13:54
-
-
Save viniroger/d87eaaad0808856d4b6ed1c37ac71f42 to your computer and use it in GitHub Desktop.
Loop infinito
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script para imprimir sequência de números infinitamente | |
numero=0 | |
while true; do | |
echo $numero | |
sleep 1 | |
numero=$((numero + 1)) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment