Shell exercise-18

Question requirementsprompt the user to enter the name of the network card, and then we use the script to output the ip of the network card, we need to consider the following questions:
?

#!