Skip to content

Instantly share code, notes, and snippets.

@PaulChana
Created January 17, 2018 11:07
Show Gist options
  • Save PaulChana/7ed30fbe467f75a743bb5e751b260201 to your computer and use it in GitHub Desktop.
Save PaulChana/7ed30fbe467f75a743bb5e751b260201 to your computer and use it in GitHub Desktop.
[Bash spinner] Display a progress spinner in bash #shell #bash
spinner="/-\|"
index=1
printf "\b${spinner:index++%${#spinner}:1}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment