Skip to content

Tìm log

Tô Thành Công edited this page Sep 27, 2019 · 2 revisions

Cách tìm log

grep -Ei -B 1 -A 1 "crit|err[^u]|warn|fail[^2]|alert|unknown|unable|miss|except|disable|invalid|cannot|denied|broken|exceed|unsafe|unsolicited" /var/log/dmesg

grep -Ei -B 1 -A 1 "crit|err[^u]|warn|fail[^2]|alert|unknown|unable|miss|except|disable|invalid|cannot|denied|broken|exceed|unsafe|unsolicited"    /var/log/syslog
Clone this wiki locally