#!/bin/bash
file="hosts.txt"
for ip in 10.0.0.1 10.0.0.2
do
echo "Device on ip address $ip"
wget -qO- http://admin:12345678q@$ip/System |grep model
done
for ip in 10.0.0.1 10.0.0.2
for ip in $(cat $file)
for ip in `cat hosts.txt`
тоже, к сожалению не работает.