log-tail

Stream recent logs from systemd journal

SKILL.md

GitHub

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.