Saturday, October 3, 2015

System log in Linux

[1] https://ask.fedoraproject.org/en/question/9299/sticky-how-do-i-view-logs-on-fedora/




After fedora20, /var/log/messages no longer available.

$journalctl -n 100      show latest 100 lines of system log message

In debian/ubuntu it's in /var/log/syslog.

No comments: