Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

tail vs journalctl

This comparison card contrasts tail and journalctl. tail is described as reads a text log file. journalctl is described as reads the systemd journal. The card pairs tail with app writes to a file, and journalctl with service logs to journal.

tail vs journalctl: Reads a text log file.; Reads the systemd journal.
tail vs journalctl · Download PNG
Read card text

What this card says

Logs

tail

Reads a text log file.

journalctl

Reads the systemd journal.

Key points

-F follows rotation.

-u filters a service.

Example

tail -F /var/log/app.log

Use when

App writes to a file.

Service logs to journal.

See all AWS revision cards