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

Get­ting the ip address is pretty simple.

hostname -i

To know the host­name, just drop the –i

hostname

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

whoami

Ryan Sukale

Ryan is a UX engineer living in San Francisco, California.

You may also like...