Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content