Host Commands,It’s a good command to resolve the IP Address to Hostname of Hostname to IP Address ( it’s check file ‘/etc/hosts’) which you can use it on your script:
For Example
#host TEstServer TEstServer is 10.10.10.10 #host 127.0.0.1 loopback is 127.0.0.1, Aliases: localhost
Leave a Reply