On Fri, 31 Dec 2004 9:25am +0900, List User wrote:
> then somehow I want to be able to use $IP_$each but of course bash doesn't
> like this.
>
> Can anyone help me out?
This question has nothing to do with bash and a better place for such a
question would be comp.unix.shell. Anyways, I'll be OK trying this:
for each in 81 82 83 84 ; do
eval IP_${each}=$(nmap -sV -v -v -O 192.168.2.$each)
done
--
Felipe Kellermann