> For the complete documentation index, see [llms.txt](https://cheatsheet.mrw0l05zyn.cl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cheatsheet.mrw0l05zyn.cl/linux-unix/logs.md).

# Logs

```sh
ls -l /var/log
sudo tail -10 /var/log/auth.log
who /var/log/wtmp | tail -5
journalctl
journalctl -u <systemd-unit>
```
