Shell Scripts





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Free Shell Scripts
List All
Rename File
Rename Multiple Files
Remove Files From Folder
Fun Dancing Script
Dancing Move
FTP Login Report
Netstats

 





outsourced web hosting support

Cursor / Pointer Dancing Script


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


Features
a) Fun script written using shell.
b) Gives a dancing effect on the pointer.
c) Simply execute the file to have the cursor effect.

Code
#------------------  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 5 price

For customization of this script or any script development, contact us at support@hscripts.com



Usage
a) Copy the above dancing code and save it with .sh extension
b) Execute the sh file in command line.
c) Execute the shell script as sh filename.sh.
d) Find the cursor pointer dancing on the screen.


License
- The Unix Shell Scripts and examples is given under GPL License
- i.e. Free use for those who use it as it is.
- Free, if your modification does not remove our copyright information and links.
- For Detailed License information Click here
- If your requirements does not meet GPL License terms, you can purchase the script with us.
Other Links

web hosting