Skip to content

Instantly share code, notes, and snippets.

@arthurcvm
Created December 21, 2018 00:01
Show Gist options
  • Save arthurcvm/507dbdb4e79d3bdfb680ed2be160007e to your computer and use it in GitHub Desktop.
Save arthurcvm/507dbdb4e79d3bdfb680ed2be160007e to your computer and use it in GitHub Desktop.
Script que lê uma informação e imprime ela quantas vezes o usuário quiser.
#!/bin/bash
i=1
while [ $i -le $2 ]; do
echo $1
((i++))
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment