Skip to content

IT Blog

Vyacheslav Gapon – personal blog, manuals, articles, notes, development

  • РусскийРусский
  • Popular categories

Tag Archives: logs

Watch Linux Logs in Real Time

Example of a command to view the log file in real time:

tail -f /var/log/syslog

The output of the data can be highlighted in different colors, for this you can set ccze:

sudo apt-get install ccze

And for example, to formulate a command as follows:

tail -f /var/log/syslog | ccze --mode ansi

To stop viewing, you can use the keyboard shortcut Ctrl + C.

Posted byVyacheslav01.11.201701.11.2017Posted inLinuxTags: logsLeave a comment on Watch Linux Logs in Real Time

Posts navigation

Newer posts 1 2

Categories

Contacts
DONATE
About it
Privacy
Subscribe by Email (EN)
Подписаться по Email (RU)
YouTube

При использовании материалов, активная ссылка на сайт ixnfo.com обязательна!
When using materials, an active link to ixnfo.com is required!

IT Blog © 2013-2023 Privacy Policy