Shell Scripts February 10, 2008 3

Follow the White Rabbit welcome script

Welcome script!!

You can copy this script into /usr/local/bin directory and put a path to the script into /etc/bashrc file in order to run that script once any user logged in.

#!/bin/bash 
#Follow the white rabbit script   
user=`whoami` 
#clear; spc=' '   
echo for i in H e l l o; do echo -n "$i"; sleep 0.2; done 
echo -n " $user "   
for i in T h i s; do echo -n "$i"; sleep 0.1; done 
echo -n "$spc"   for i in i s; do echo -n "$i"; sleep 0.1; done 
echo -n "$spc"   for i in N E O ...; do echo -n "$i"; sleep 0.1; done sleep 0.5; echo;   
for i in J u s t; do echo -n "$i"; sleep 0.1; done 
echo -n "$spc"   for i in F o l l o w; do echo -n "$i"; sleep 0.2; done 
echo -n "$spc"   for i in t h e; do echo -n "$i"; sleep 0.1; done   
echo -n "$spc" for i in W h i t e; do echo -n "$i"; sleep 0.2; done   
echo -n "$spc" for i in R a b b i t ...; do echo -n "$i"; sleep 0.2; done 
sleep 0.5; echo; echo; 
exit 0   

##END-SCRIPT##