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.
author & internet detective
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.
OCA 8 book
How To Ask Questions The Smart Way
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?
memory/cpu issue of reading/writing files
File find utility?
Search tool to search all class files
how to fetch rows based on line numbers or based on the beginning of a word
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015