30 Jun
2016
30 Jun
'16
11:56 a.m.
On 30 June 2016 at 11:23, Huge <huge@huge.org.uk> wrote:
Given that the "file" command can recurse through directories,
file -r didn't seem to work for me. (-r = raw, not recurse). But it did lead me to the horrible messy but functional: grep 192.168.1.1 `file $(find etc -type f) | grep ASCII | sed 's#:.*##'` So thanks! Improvements welcome though (as a learning exercise). -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER