Categories
Linux

IP address of Linux /Windows machine

In this post , We will learn to get the IP address of our Linux /Windows machine using command prompt .

Linux
IP address of Linux /Windows machine
Linux command
hostname -i
Output
127.0.1.1
Windows
IP address of Linux /Windows machine
Windows command
ipconfig
Output
IPv4 Address. . . . . . . . . . . : 192.168.43.47

Related Articles

Run shell script from java with Example

Leave a Reply

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