Question: write a script on your Ubuntu server that provides a user menu to select multiple network troubleshooting tools. You may design the menu as you

write a script on your Ubuntu server that provides a user menu to select multiple
network troubleshooting tools. You may design the menu as you see fit. The available tools
should include the following:
ping
o For this command, ask the user to provide an IP address or hostname (dont worry
about verifying the input).
o Also ask the user to specify how many requests should be sent. Prevent users
from specifying non-integer numbers. The request should be asked again if the
user provides erroneous input.
tracepath
o For this command, ask the user to provide an IP address or hostname (dont worry
about verifying the input).
Note: This command performs what traceroute normally would but comes
with Ubuntu.
o Use the timeout command with tracepath to terminate this command after 10
seconds pass.
nslookup
o For this command, ask the user to provide an IP address or hostname (dont worry
about verifying the input).
netstat
o For this command, just use it to show the hosts routing table. You will need to
use one of the commands parameters to make it do this.
arp
o For this command, just use it to show the hosts ARP table.

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!