If I want to display the IP address that is assigned to eth1, how can I do this in Bash?
|
feedback
|
|
Try this (Linux)
or this (Linux)
or this (*BSD)
or this (Solaris 10)
Obviously change the interface name to match the one you want to get the information from. | |||||||||||
feedback
|
|
maybe this will help
| |||||
feedback
|