DIR Return Create A Forum - Home
---------------------------------------------------------
helwan-linux
HTML https://helwanlinux.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Tutorials
*****************************************************
#Post#: 43--------------------------------------------------
🧠 Arch Like a Boss – Lesson 1: journalctl Demystified
DIR By: helwanlinux
Date: July 5, 2025, 9:14 am
---------------------------------------------------------
🧠 Arch Like a Boss – Lesson 1: journalctl Demystified
journalctl is your best friend when something goes wrong in your
system.
It reads logs from systemd and shows you what’s been happening
behind the scenes.
🔧 Basic Usage:
journalctl
This will dump the entire log history — probably too much.
🔍 Filter by Time:
journalctl --since today
journalctl --since "2025-07-01" --until "2025-07-05"
⚙️ View Only Boot Logs:
journalctl -b
To see previous boots:
journalctl --list-boots
journalctl -b -1 # one boot ago
💥 View Errors Only:
journalctl -p err
journalctl -p 3
📦 Logs from Specific Service:
journalctl -u NetworkManager
journalctl -u sshd.service
🧠 Pro Tip: Add -f to follow logs in real-time, like tail
-f:
journalctl -f
*****************************************************
Page 1 of 1