How to do it...

Hier manual pages tell us that if we want to find miscellaneous log files, we should start by looking in /var/log/:

       /var/log               Miscellaneous log files.

Navigating to /var/log and listing its contents shows us that this is the case:

$ cd /var/log$ ls -ltotal 156drwxr-xr-x. 2 root   root      219 May 12 18:55 anacondadrwx------. 2 root   root       23 Oct  9 16:55 audit-rw-------. 1 root   root        6 Oct  9 16:55 boot.log-rw-------. 1 root   utmp        0 May 12 18:51 btmpdrwxr-xr-x. 2 chrony chrony      6 Apr 12 17:37 chrony-rw-------. 1 root   root      807 Oct  9 17:01 cron-rw-r--r--. 1 root   root    28601 Oct  9 16:55 dmesg-rw-r--r--. 1 root   root      193 May 12 18:51 grubby_prune_debug-rw-r--r--. 1 root   root   292292 Oct  9 17:21 lastlog-rw-------. 1 root root ...

Get Linux Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.