Userland "dig/host" for lookups against /etc/hosts?

stheg olloydson stheg_olloydson at yahoo.com
Sun Mar 27 23:10:32 PST 2005


it was said:

>It works if I ping 'hostname', but how can I find out the IP of
>'hostname' from the command line?

Hello,

Would not grep 'hostname' /etc/hosts do this?

HTH,

stheg


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


More information about the freebsd-questions mailing list