1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/logread.md
Managor f939237015
logread: add page (#15655)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-02-06 22:35:46 +05:30

20 lines
352 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 a specified number of messages:
`logread -l {{N}}`
- Filter messages by (Keyword/Regular Expression):
`logread -e {{pattern}}`
- Print log messages as they happen:
`logread -f`