35

My system suddenly crashed, I have restart it, where could I find the last/previous crash log, since there are no /var/log/syslog* anymore..

Kokizzu
  • 9,257
  • 12
  • 55
  • 82

2 Answers2

49
journalctl --since=today

Reference

l0b0
  • 50,672
  • 41
  • 197
  • 360
Kokizzu
  • 9,257
  • 12
  • 55
  • 82
27

To get the log of the last boot, execute as root or with sudo:

journalctl -b -1

learned from this discussion.

Pablo A
  • 2,307
  • 1
  • 22
  • 34
MOzSalles
  • 381
  • 3
  • 4