Question: Modify the script provided called myping as follows: Ask for a filename to save the results! Ask for the number of pings to attempt Ask

Modify the script provided called "myping" as follows:

  1. Ask for a filename to save the results!
  2. Ask for the number of pings to attempt
  3. Ask for the delay in seconds between ping attempts
  4. Write to the file an entry that has the timestamp, when the script begins pinging.Also display the timestamp to the screen
  5. Write to the file anytime a ping fails. Write an entry that has the time stamp every time a ping fails
  6. After the last ping, write the current timestamp out to the file
  7. Display a message on the screen that the script finished. Also display that to the screen

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!