I want to write a bash script that monitors the status of my server.
Currently I have the following line to log the ping:
ping -c 1 google.com | grep -