Log Tail

Stream recent logs from systemd journal

majiayu000 b312d4a 2 files · 1.3 KB Updated 567 repo stars

File contents

Log Tail

Stream recent logs from the systemd journal. View logs by service unit, control line count, and optionally follow in real time.

Commands

# Show recent journal logs (default: 50 lines)
log-tail [--unit <service>] [--lines 50]

# Follow logs for a specific service in real time
log-tail --follow <service>

Install

No installation needed. journalctl is always present on systemd-based systems like Ubuntu.

majiayu000/claude-skill-registry-data/tree/main/system/log-tail commit b312d4a9cc

Frequently asked questions

npx skillmds add majiayu000/log-tail