Article
home/blog/Loading

Get IP Address in Linux

To get the IP Address in linux you can use ifconfig or hostname -I

For Example

hostname -I

192.168.0.5

ifconfig -a | grep inet

inet 192.168.0.5 netmask 255.255.255.0 broadcast 192.168.0.255