Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash loading bar spinner in bash shell script

i=1
sp="/-|"
echo -n ' '
while true
do
    printf "${sp:i++%${#sp}:1}"
done
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #loading #bar #spinner #bash #shell #script
ADD COMMENT
Topic
Name
5+9 =