File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Linux / UNIX
log file access - grep/tail
Joined: Apr 08, 2004
Jul 10, 2010 18:06:15
I want to grep the log file entries based on source and destination
values. eg: My String1 in 720th line and String2 is in 11000th line.
Joined: May 26, 2003
Jul 10, 2010 18:22:27
sed and awk are more powerful than grep when it comes to this kind of thing.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: log file access - grep/tail
struts2: Generating list of localisation keys?
how to fetch rows based on line numbers or based on the beginning of a word
memory/cpu issue of reading/writing files
Search tool to search all class files
File find utility?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013