[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] looking for a word in a log file ? 2
- Subject: RE: [cobalt-users] looking for a word in a log file ? 2
- From: "Peter Masloch" <peter@xxxxxxxxxxx>
- Date: Thu Jul 18 05:51:01 2002
- Organization: EasyniX Consulting
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
It is very simple:
"vi" the logfile you want, then hit the "/" key
and type in the word you are looking for and hit "enter".
With hiting the spacebar you go down the logfile the
searched word in revverse color displayed.
For more information type "man vi"
Peter
> > "Jean-Christophe SPENLE" <cobalt@xxxxxxxxxx> wrote:
> > > does something like this exist but throug the www ?
> >
> > If you're interested in a web-based search engine to search
> > sites (either on your server or external) I > recommend
> > mnoGoSearch. http://www.mnogosearch.org/ I've been using it
> > for several years, since prior to its name change from
> > udmsearch. It is powerful, flexible and works well. If you
> > need to index files that aren't on the web, it can index
> > files through FTP, local files on your server and even
> > database-driven pages directly from the database (bypassing
> > the webserver).
>
> I think she was hoping to search a log file with GREP via a web form.
> IIRC, that's a security problem since if the form can access those
> files, it might be abused to enter "; rm -rf * ;" in a form.
>
> --
> Dan Kriwitsky
>
> Please reply to the list only. Offlist replies are not read.
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>