Re: How to read log files
On Wed, Mar 31, 2010 at 08:00:18PM +0300, Dotan Cohen wrote:
>
> That was quite what I asked: where could I read more on the subject?
> Dead trees are fine!
>
Hi Dotan,
These are trivial but handy for chasing down where messages come from:
etcgrep () { grep -ir "$1" /etc/* ; }
sgrep () { grep -ir "$1" /usr/src/linux ; }
xgrep () { grep -i "$1" $(echo $PATH | tr ":" " ") ; }
HTH,
Mike
--
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Reply to: