My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

Peek at a particular line in a large log file with context lines

Usage: peek

<filename>
<line number> [no. of context lines]

grep MyException -n big-file.log | cut -d":" -f1 | xargs -n1 peek big-file.log

Powered by Google Project Hosting