Question: Develop a bash tool which can ping google.com 10 times and store the formatted output to output_bash.txt Output format: Server 1: Minimum = 29ms, Maximum

  1. Develop a bash tool which can ping google.com 10 times and store the formatted output to output_bash.txt

Output format:

Server 1: Minimum = 29ms, Maximum = 46ms, Average = 33ms

Server 2: Minimum = 29ms, Maximum = 46ms, Average = 33ms

Server 3: Minimum = 29ms, Maximum = 46ms, Average = 33ms

Server 4: Minimum = 29ms, Maximum = 46ms, Average = 33ms

  1. Develop a python tool which can scan the selected ports from a collection of hosts and output to output_python.txt.

Port list: 20, 21, 22, 23, 25, 53, 67, 68, 80, 110, 119, 123, 143, 161, 194, 443

Output format (ip: active_port_1, active_port_2, )

192.168.20.10: 22, 21, 80

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 Databases Questions!