A union of curiosity and data science

Knowledgebase and brain dump of a database engineer


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

hostname -I

ifconfig 

 

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

sudo apt install net-tools

 

ip a



Gateway IP and Subnet

ip r

Destination and Mask

route



netstat -r -n



 

 

 

External IP Address: 

curl https://ipinfo.io/ip








Comments (1) -

  • ctBVWtr0

    4/16/2025 11:36:08 PM | Reply

    755693 32083We keep your page. Watch it offline once more soon. Extremely fascinating write-up. 359887

Add comment