1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 04:35:25 +02:00

logread: add page (#15655)

Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
This commit is contained in:
Managor 2025-02-06 19:05:46 +02:00 committed by GitHub
parent 4e8b17a032
commit f939237015
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
pages/linux/logread.md Normal file
View file

@ -0,0 +1,20 @@
# 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`