I'm trying to make a script that save the
ping logs to .txt or .log file.
To monitor if my connection is intermittent or not, I'm using this script:
$nohup ping 188.8.131.52 > timeout.txt &
Then when I check if its pinging:
It's working! But when I stop the process by using:
timeout.txt file is stop pinging but didn't show the statistic logs if I had any timeout or packet loss.
How to stop the
ping and also showing the statistic?
Or do I have to add a script to my script?