Last active
February 4, 2016 09:07
-
-
Save starkcoffee/16727d693aed424dd675 to your computer and use it in GitHub Desktop.
my first bash animation!
This file contains hidden or 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 | |
echo -en "\033[1B" | |
while true; do | |
echo -n '|' | |
echo -en "\033[1D" | |
sleep 1 | |
echo -n '/' | |
echo -en "\033[1D" | |
sleep 1 | |
echo -n '-' | |
echo -en "\033[1D" | |
sleep 1 | |
echo -n '\' | |
echo -en "\033[1D" | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment