071
MIS
- Aug 9, 2000
- 153
The following script works but unfortunatly overwrites itself in the 'down' file.
ping 'xxx.xx.x.xx' 2
[ $? != 0 ] && echo "No reply from server" > down
ping 'xxx.xx.x.xx' 2
[ $? != 0 ] && echo "No reply from server" > down
etc....
Any suggestions ???
ping 'xxx.xx.x.xx' 2
[ $? != 0 ] && echo "No reply from server" > down
ping 'xxx.xx.x.xx' 2
[ $? != 0 ] && echo "No reply from server" > down
etc....
Any suggestions ???