I would suggest you have a look at the many scripts already
created by forum members and read up on bash programming
to see how this is being achieved.
As a basic method to get user input and use that variable,
you could look at the below.
Code:echo -ne "Enter gateway IP: " read gwip echo "Your chosen gateway IP is: $gwip"


