• 0

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