what file? The for loop above takes an actual list of hostnames.

If you want to use a text file:

for ip in $( cat list_of_hostnames.txt); do
host $ip
done

On Thu, Dec 4, 2014 at 3:49 PM, Raymond Norton <admin at lctn.org> wrote:
> That works for me, as well. Have not gotten the file to work though.
>
> tried: x.x.x.x x.x.x.x x.x.x.x
> and
> x.x.x.x
> x.x.x.x
> x.x.x.x
>
>
> Host util  thinks the file is an actual host.
>
>
>
> On 12/04/2014 03:44 PM, tclug at freakzilla.com wrote:
>>
>> for ip in 192.168.0.100 192.168.0.65 192.168.0.74; do
>>>
>>> host $ip
>>> done
>
>
> --
> Raymond Norton
> LCTN
> 952.955.7766
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list



-- 
Jeff Chapin
President, CedarLug, retired
President, UNIPC, "I'll get around to it"
President, UNI Scuba Club
Senator, NISG, retired