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

Ravi Sir's Cards › AWS

tail vs journalctl

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

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