How do I format the output of nmap to display on conky?
Posted
by
WolfLarson
on Ask Ubuntu
See other posts from Ask Ubuntu
or by WolfLarson
Published on 2012-09-21T18:54:11Z
Indexed on
2012/09/22
3:49 UTC
Read the original article
Hit count: 344
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.
© Ask Ubuntu or respective owner