1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:22:07 +02:00
tldr/pages/linux/logread.md
Lena 6fd816e36e
pages/*: use lowercase n for integer placeholders (#16033)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-03-27 21:23:12 +05:30

365 B

logread

Read the logd ring buffer log. More information: https://openwrt.org/docs/guide-user/base-system/log.essentials.

  • Print the log:

logread

  • Print n messages:

logread -l {{n}}

  • Filter messages by (Keyword/Regular Expression):

logread -e {{pattern}}

  • Print log messages as they happen:

logread -f

  • Display help:

logread -h