Ian Lewis 4/17/2008

Using less and grep with logs

Read Original

This technical article explains practical command-line techniques for developers and sysadmins working with large log files. It covers using 'less' to open files from the end (+G) and search forward/backward, and using 'grep' with -A (after) and -B (before) flags to find error messages with surrounding context for effective debugging.

Using less and grep with logs

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser