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


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


Ryan Sukale

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

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *