Posts

Windows and Linux

How many times in a day do you have a hostname and you want to know the IP address? Hostname to IP address and IP address to hostname conversion is one of the frequent things which we need to do for many things when dealing with networking commands in Unix. For one command we need an IP address for others we need a hostname even from bash script sometimes we require a hostname and sometimes we look for an IP address. Read more:  linux online training Networking commands are not as popular as find command or grep command but they are equally important and if you working in Windows or UNIX environment you must learn them and they should also be included in any list of  By the way, In this hostname to IP address tutorial, I will show you  how to get the IP address from host name  or computer name in Unix or Linux and  how to get hostname if you have an IP address . If you are looking for a way to do it via the Java program then you can also see my post on how to find the IP address of the