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
  • 56,709
  • 26
  • 150
  • 232

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
  • 76,081