How to filter out errors in Ubunty system log files?

How to find errors in Ubunty system log files, in particular, errors that can cause various problems and proving that system is damaged, not small arbitrary errors. I mean search for lines with error, corrupted, failed, crash messages in log files. Which log files is most important? I installed Glogg log explorer utility. Is there method to scan multiple log files and filter out important error messsages to separate file for analysis?


The simplest way to do this is by using grep in a terminal window. The log file you should check first, is syslog. So, typing:

grep -i -e fail -e error -e corrupt /var/log/syslog

would give you all the lines that contain the key words you type after each -e switch. The -i switch tells grep to ignore case.

Category: 14.04 Time: 2016-07-30 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.129 (s). 12 q(s)