It is good to do this check, hostname -i is a lot simpler than getting the IP address from ifconfig.
4 Likes
It is good to do this check, hostname -i is a lot simpler than getting the IP address from ifconfig.