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:
parent
4e8b17a032
commit
f939237015
1 changed files with 20 additions and 0 deletions
20
pages/linux/logread.md
Normal file
20
pages/linux/logread.md
Normal 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`
|
Loading…
Add table
Reference in a new issue