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

21 lines
352 B
Markdown
Raw Normal View History

# 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`