diff --git a/README.md b/README.md index dbd1bca..9f56f2c 100644 --- a/README.md +++ b/README.md @@ -327,3 +327,14 @@ List all active services: systemctl list-units --type=service --state=running systemctl --user list-units --type=service --state=running ``` + +## View system log + +```bash +# Kernel message log with timestamps +dmesg --ctime +# System journal: Errors since last boot. +journalctl -p err -b +# GNOME session logs since last boot. https://help.gnome.org/admin/system-admin-guide/stable/session-debug.html.en +journalctl _UID="${UID}" -b +``` \ No newline at end of file