# Log Tail

> Stream recent logs from systemd journal

- Skill: `majiayu000/log-tail` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/log-tail`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/log-tail/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/log-tail

---


# Log Tail

Stream recent logs from the systemd journal. View logs by service unit, control line count, and optionally follow in real time.

## Commands

```bash
# 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.

