I need to write a ksh shell script that will allow me to input the name of 1 of the computers/printers on the school network and will return the IP address of that host, the script needs to access the /etc/hosts to get the information and if the host is not found in the /etc/hosts file then output a message that the hostname cannot be located.
I only have basic script writing skill and and help would be greatly appreciated
many Thanks
Mark
I only have basic script writing skill and and help would be greatly appreciated
many Thanks
Mark