Linux Crash Course – Understanding Logging
The Linux Crash Course is a series of tutorials that will teach you a fundamental Linux-related concept in each episode. This time around, the spotlight is on logging. In this video, you’ll see some examples of log files that exist in Fedora as well as Ubuntu.
Thanks to Linode for sponsoring today’s video! Check them out and get your very own cloud Linux server ➜ https://linode.com/learnlinuxtv
Join this channel to get access to perks:
https://www.youtube.com/channel/UCxQKHvKbmSzGMvUrVtJYnUA/join
## Support LearnLinuxTV (commission earned):
– Get your own cloud server with Linode ➜ https://linode.com/learnlinuxtv
– Support me on Patreon and get early access to new content! ➜ https://learnlinux.link/patron
– Check out my latest book, Mastering Ubuntu Server 4th Edition ➜ http://ubuntuserverbook.com
– Check out Shells.com to spin up your very own Linux or Windows desktop in the cloud ➜ https://learnlinux.link/shells
– Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
– Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot
## Individual sections:
00:00 – Intro
00:59 – Get your very own cloud Linux server with Linode (sponsor)
02:21 – Log file examples from a Fedora instance
04:46 – Some log files may not be viewable as your normal user
05:52 – The dnf log file
07:35 – How to view the contents of the wtmp log file
09:18 – Viewing the contents of the btmp file
12:34 – Taking a look at some of the log files in Ubuntu
14:16 – The authorization log (authlog)
15:00 – Viewing logs in « follow mode » with tail
17:42 – Viewing the System Log (syslog)
21:56 – The dmesg log file
24:34 – The journalctl command
## Recommended evergreen videos:
– How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
– Understanding Linux permissions ➜ https://linux.video/perms
– OpenSSH Guide ➜ https://linux.video/ssh
– LVM Deep-dive ➜ https://linux.video/lvm
– How to better secure OpenSSH ➜ https://linux.video/secure-ssh
## LearnLinuxTV Links:
– Main site ➜ https://www.learnlinux.tv
– Community ➜ https://community.learnlinux.tv
## About the host
– Personal blog ➜ https://www.jaylacroix.com
– Twitter ➜ https://learnlinux.link/twitter
## FAQ
– Which distro do I use? ➜ https://learnlinux.link/mydistro
– My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff
Disclaimer: LearnLinuxTV provides technical content on YouTube that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of this content. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production systems and hardware.
#Linux #LearnLinux #LinuxTutorial
Views : 8866
linux