Cursor / Pointer Dancing Script

Simple script when executed creates dancing effect of the cursor pointer in the command promt.

Features

  • Fun script written using shell.
  • Gives a dancing effect on the pointer.
  • Simply execute the file to have the cursor effect.

Downloads

#------------------
Script by hscripts.com
------------------# #-----------------
Copywrite of HIOXINDIA
------------------# #--------------
More scripts @www.hscripts.com
---------------#
#!/bin/sh
var1=$1
count=2000
for (( i = 0 ; i <= $count; i++ )) do
cc=`echo $i%4 | bc` #echo $cc
if [ $cc == 0 ]
then echo -e '\b|\c'
elif [ $cc == 1 ]
then echo -e '\b/\c'
elif [ $cc == 2 ]
then echo -e '\b-\c'
else [ $cc == 3 ]
echo -e '\b\\\c'
fi
done
#------------ Script by hscripts.com -------------------------#

  • Release Date - 06-04-2010
  • Get free version without ©copyright link for just $10/-
  • For customization of this script or any script development, mail to support@hscripts.com

Usage

  • Copy the above dancing code and save it with .sh extension
  • Execute the sh file in command line.
  • Execute the shell script as sh filename.sh.
  • Find the cursor pointer dancing on the screen.

License

Related Scripts


Ask Questions

Ask Question