|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
search in logs question
how do i search for a text in log files from my server?
the log files are very big and i can't open each file and search for that text |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Aug 2005
Location: O&A PARTY ROCK
Posts: 444
|
Unix/linux/bsd/etc:
>grep -i -r "your stuff here" /path/to/your/access_log The -i is case INsensitive The -r is recursive (You may not need either) Hope this helps...
__________________
The GFY popularity contest scoreboard |
|
|
|
|
|
#3 | |
|
Confirmed User
Join Date: Feb 2005
Location: Haarlem and Amsterdam, capital of the porn world ;-)
Posts: 6,496
|
Quote:
and for tgz archives use Code:
zcat archive_file.tgz | grep -R -i "your stuff"
__________________
Need adult hosting? Contact us! WARM Hosting Need an IT solution? or someone to check your site and security? Nossie - IT Professional |
|
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
Quote:
instead of " /path/to/your/access_log" can i enter a directory to search all files from that directory? |
|
|
|
|