All apps/lnav

lnav

lnav

The Logfile Navigator.

Runs as lnav|macOS, Linux, Windows|lnav.org

Command form

ai-draft · 2 tasks · 8 fields

Open log files or directories in lnav, or run commands headless. Management mode, format install and debug options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui lnav
View log filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Log files or directories*
any
Load directories recursively
-r
Include rotated logs
-R
TasksEach one presets the form for one job
View logs
filesrecursiverotated
Run command headless
filescommandheadlessquiet
ParametersOnly these flags are editable in the form
Log files or directories
path · positional 0 · repeatable
Load directories recursively
boolean
-r
Include rotated logs
boolean
-R
Skip default syslog
boolean
-N
Command after load
string
-c
Command file
path
-f
Headless (no UI)
boolean
-n
Quiet
boolean
-q
SourcesEvery flag above is checked against these
man
-r Recursively load files from the given directories. -R Load older rotated log files as well. -c cmd Execute a command after the files have been loaded. -f path Execute the commands in the given file. -t Prepend timestamps to the lines of data being read in on the standard input. -n Run without the curses UI. (headless mode) -N Do not open the default syslo…
manual2026-10-27

manpages.debian.org

Before it fills your prompt, Otty checks the installed lnav against its version. A form that does not match your version is not offered.