Search results

  1. D

    How to send my ping.sh to a .txt file?

    Hello guys. I'm having trouble with a ping command here. I wanna create a bash script that do an no-stopping ping in a network and save the result in a .txt file. Here's my code: ping hostname | while read pong; do echo "$(date): $pong"; >>ping;txt; done My ping.txt is empty. Can you help me...
Top