How to get the ip address of your local system on linux or Ubuntu

Getting the ip address is pretty simple.

hostname -i

To know the hostname, just drop the -i

hostname

While at it, to know what user you are signed in as, just type

whoami

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...