Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

log file access - grep/tail

 
kri shan
Ranch Hand
Posts: 1478
  • 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
Marshal
Posts: 34973
379
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