How to find ip address through hostname in local network?
We can run ping command as below
ping hostname -f
and from the output in bracket we can see the IP address of the machine
We can run ping command as below
ping hostname -f
and from the output in bracket we can see the IP address of the machine