Articles
linux
Get IP Address in Linuxlinux

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