Update cheatsheets

This commit is contained in:
ivuorinen
2025-02-07 00:17:34 +00:00
parent efdf464901
commit c8986586ce
16 changed files with 308 additions and 11 deletions

25
tldr/linux/logread Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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`