31 Jul
2019
31 Jul
'19
12:31 p.m.
On Tue, 30 Jul 2019 at 09:30, Chris Green <cl@isbd.net> wrote:
My script just lists IP, host name, MAC and manufacturer. If not run as root then it just reports IP and host name.
#!/bin/bash [...]
Thanks Chris. I used to use awk a lot but it's a couple of decades ago and my memory is rusty, I think I need to get back into it. But my main challenge here is that I want to collate duplicates (so if one MAC is showing multiple IP addresses I want to list them together). Is this something that awk is suited to, or am I better of using python? -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER