I want to add to the network section of conky a list of all hosts and ips for my network.
However I do not know how to format the output in a way I like.
I want
- Live Hosts However this is on the bottom line of
nmap
's output) - host (ip)
- host (ip)
- and on and on...
I think there should be a max of 7 on my network. How can I do this? The output of nmap -sP 192.168.1.0/24
looks nothing like what I want though it does have all the parts, just in the wrong order.
awk
and/orgrep
to the OP?