Check log entries after crash on GNU/Linux with journalctl
To display the log entries, run: $ journalctl -e -n3000
, say, to print the last 3000 entries.
Move to the top the file: press gg
.
Move cursor to the line where the computer restarted: /-- Boot
.
From there, press the key PgUp
, or the key B
, to browser backwards through the logs to see what went wrong.
personal computing command-line interface (cli) gnu linux trisquel shell literacy wiki journalctl