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:
- Ask for a filename to save the results!
- Ask for the number of pings to attempt
- Ask for the delay in seconds between ping attempts
- Write to the file an entry that has the timestamp, when the script begins pinging.Also display the timestamp to the screen
- Write to the file anytime a ping fails. Write an entry that has the time stamp every time a ping fails
- After the last ping, write the current timestamp out to the file
- 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
