lnav

October 21, 2021 - Tags: linux, shell

lnav is a useful tool to analyze multiple logfiles simultaneously. You can just use:

lnav log1 log2

to open the logs. Some important shortcuts are:

Key Description
? help menu
h, j, k, l vim-like movement
space/backspace page forward/backward
TAB file/filter menu
: Command prompt
; SQL queries