1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-20 13:56:06 +02:00
tldr/pages/linux/logread.md
2025-03-26 00:36:41 +02:00

383 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 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

  • Display help:

logread -h