the script reads all hostnames that have 'cisco' in it from the /etc/hosts (so we are probably talking routers here) and then performs a 'ping' to see if they are 'alive' or not. This is done every 3 seconds.
But i need to know the meaning to the commands within this script.
while true = man true for more info "true, false - provide truth values"
tput = man tput for more info "tput - initialize a terminal or query terminfo database"
CN = just a variable
MESS = just a variable
cut = man cut
grep -v = is a switch for grep. man grep for more info
and so on down the road. look at it this was IF you have
var1=something else. most likely var1 is a variable.
if you have a string of commands IE true, grep, tput, cut, grep......
you can type at a shell prompt: man <i>command-name</i> and it will give you the manual page for said command.