[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Mar 2004
]
Re: [edlug] grep question
El lun, 01-03-2004 a las 10:54, Peter George escribió:
> I want to search through my whole system for references to a
> particular IP address which may be in some obscure config file.
>
> How might I do this, outputing a list of files containing the IP
> address?
erm, such config is likely to be somewhere under /etc, so:
cd /etc
fgrep -r "111.222.333.444" *
some files are only readable by root, so it's a good idea to launch this
as root ;-)
--
Backup not found: (A)bort, (R)etry, (S)uicide?
-
----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html