I have a 62-lines bash script. It works well on CentOS 5 before, but on CentOS 6, it couldn't work as expected. The logic of the script is only doing a ping and grab the result, save it.
Hope someone could be able to troubleshoot and solve the case. I thought it might incompatible with the way grab, sed, etc. works in CentOS 6.