🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Linux Intermediate

What is Journalctl?

A command-line tool for querying and viewing logs collected by systemd's journal logging system.

Journalctl provides structured log access. Common usage: journalctl -u nginx (service logs), journalctl --since "1 hour ago" (time-based), journalctl -f (follow/tail), journalctl -p err (priority filtering).

The journal stores logs in a binary format, enabling fast querying, filtering by service/priority/time, and automatic log rotation. It replaces traditional text-based syslog for many use cases.

Related Terms

Tmux
A terminal multiplexer that allows running multiple terminal sessions within a single window, with detach/reattach capability.
Procfs (/proc)
A virtual filesystem in Linux that provides an interface to kernel data structures, exposing process and system information as files.
Crontab Syntax
The time specification format used in cron job scheduling, with five fields defining minute, hour, day of month, month, and day of week.
Package Manager
A tool that automates the process of installing, updating, configuring, and removing software packages.
Grep
A command-line utility for searching plain-text data for lines matching a regular expression pattern.
Kernel
The core component of an operating system that manages hardware resources and provides services to software.
View All Linux Terms →