8 examples for journalctl

{{ score }}
  # Show messages from the current boot
journalctl -b -0
        
{{ score }}
  # Show all messages from the previous boot
journalctl -b -1
        
{{ score }}
  # Show all messages by a specific unit
journalctl -u dbus
        
{{ score }}
  # Show all messages by a specific executable
journalctl /usr/lib/systemd/systemd
        
{{ score }}
  # Show all messages by a specific process
journalctl _PID=1
        
{{ score }}
  # Show kernel ring buffer
journalctl -k
        
{{ score }}
  # display from the most recent entry in system log (end)
journalctl -e
        
{{ score }}
  # Shows all logs from current boot
journalctl -b 0