2

I got a really big logcat (since 2016) and I'm interested in printing everything (all the rows) after a point (let's say, September). The logcat is really big, so I can't really use tail.

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227

1 Answers1

2

To print everything after matching a "needle", using sed:

sed -n '/needle/,$p' filename

Replace needle with the actual pattern you witch to match at which point in the file to being printing.

DopeGhoti
  • 73,792
  • 8
  • 97
  • 133