<quote who="James Gregory">

> 
> find /etc -type f -exec grep -ln `hostname` {} \; 2> /dev/null
> 

Or, more compactly

grep -rln `hostname` /etc 2> /dev/null

The important part being the -r for recursive grep

J.
-- 
Jan Schmidt                                  [EMAIL PROTECTED]

ENOSIG
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to