Ubuntu Shell - get your IP Address , Subnet Mask and Gateway

This code example demonstrates Bash programming techniques and best practices.

hostname -I

Language: Bash
Original Source: BlogEngine.NET Migration
Code Lines: 2

 

if net-tools are installed. If not, install them. 

 



Gateway IP and Subnet

Destination and Mask





 

 

 

External IP Address: 









Ubuntu Shell - get your IP Address , Subnet Mask and Gateway

hostname -I ifconfig    if net-tools are installed. If not, install them.  sudo apt