LinuxCommandLibrary

logcat

Dump a log of system messages.

TLDR

Display system logs

$ logcat
copy

Write system logs to a file

$ logcat -f [path/to/file]
copy

Display lines that match a regex

$ logcat --regex [regex]
copy

Copied to clipboard