Skip to content

Instantly share code, notes, and snippets.

@2arunpmohan
Created December 13, 2019 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2arunpmohan/9cc8932a1ff009e29b5b4e6e45791468 to your computer and use it in GitHub Desktop.
Save 2arunpmohan/9cc8932a1ff009e29b5b4e6e45791468 to your computer and use it in GitHub Desktop.
A systemd component called journald collects and manages journal entries from all parts of the system. This is basically log information from applications and the kernel.
**1. To see all log entries, starting at the oldest entry**
`journalctl`
**2. journal entries from the current boot**
`journalctl -b`
**3. To see only kernel messages, such as those that are typically represented by dmesg**
`journalctl -k`
To see the above only from the current boot
`journalctl -k -b`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment