• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Search

Scan for Error, Warning and Panic

March 1, 2019

Here’s a command to scan for any errors, warnings and panics on the system. If the file is too large, pipe it to more.

sudo grep -E -i -r 'error|warning|panic' /var/log
sudo grep -E -i -r 'error|warning|panic' /var/log >error-warning-panic.log
cat error-warning-panic.log | more

sudo grep -E -i -r 'error|warning|panic' /var/log sudo grep -E -i -r 'error|warning|panic' /var/log >error-warning-panic.log cat error-warning-panic.log | more

Filed Under: Linux Tagged With: errors, grep, more, panics, var log, warnings

Subscribe Via Email

  • Home
  • About
  • Search

Copyright © 2023