• Post Reply Bookmark Topic Watch Topic
  • New Topic

log file access - grep/tail  RSS feed

 
kri shan
Ranch Hand
Posts: 1489
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to grep the log file entries based on source and destination string values. eg: My String1 in 720th line and String2 is in 11000th line.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37395
531
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kri,
sed and awk are more powerful than grep when it comes to this kind of thing.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!