[Ilugc] Shell scripting help

  • From: rohitbaisakhiya@xxxxxxxxx (Rohit Baisakhiya)
  • Date: Sun Jan 9 12:57:08 2005

Hello Luggers
I am new to shell scripting in linux.I need to make a script which can
ping an ip and can write to a file in values of 0 or 1(0 if it
receives ping reply and 1 if it receives no reply).I want to put the
script in crontab such that it tuns every 30 seconds and writes the
value to the file.

Any kind of pointers or help is appriciated.Please help.

-- 
Regards,
Rohit Baisakhiya

Other related posts: