I am trying to segregate scan resoults by the last octet of the subnet mask however all i get is output to shell, it creates the files but there is nothing in them
#!/bin/bash
for j in $(seq 1 254);
do
for i in $(seq 0 254)
do
nc -n -v -z -w 1 1.0.$j.$i 8096 2>&1 >> 1_1_${j}_0_24
done
done