mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-09 11:45:23 +02:00
24 lines
365 B
Markdown
24 lines
365 B
Markdown
# logread
|
|
|
|
> Read the `logd` ring buffer log.
|
|
> More information: <https://openwrt.org/docs/guide-user/base-system/log.essentials>.
|
|
|
|
- Print the log:
|
|
|
|
`logread`
|
|
|
|
- Print `n` messages:
|
|
|
|
`logread -l {{n}}`
|
|
|
|
- Filter messages by (Keyword/Regular Expression):
|
|
|
|
`logread -e {{pattern}}`
|
|
|
|
- Print log messages as they happen:
|
|
|
|
`logread -f`
|
|
|
|
- Display help:
|
|
|
|
`logread -h`
|