Linux Crash Course - Understanding Logging

  Рет қаралды 44,969

Learn Linux TV

Learn Linux TV

Күн бұрын

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 ➜ learnlinux.link/akamai
Brand New Udemy Courses Available!
Check out my new courses on Udemy and take your learning even further!
• Ansible Course ➜ learnlinux.link/ansible
• Linux Essentials Course ➜ learnlinux.link/linux-essentials
Check out the Linux Shop
In the official shop, you'll find Shirts, hats, stickers, bags and more!
➜ merch.learnlinux.tv
5% discount on LPI exam vouchers
After you finish Jay's new course, get 5% off an LPI exam voucher here:
➜ learnlinux.link/lpi-voucher
Become a Patron
Show your support for Learn Linux TV on Patreon and get access to exclusive perks!
➜ learnlinux.link/patron
Become a Channel Member
Show your support for Learn Linux TV here on KZfaq and get access to exclusive perks!
➜ learnlinux.link/member
Mastering Ubuntu Server: 4th Edition
Jay's latest book covers everything you need to know in order to master Ubuntu Server. It's available here:
➜ ubuntuserverbook.com
Linux Gear and Kits
Check out Jay's choice of hardware products, audio/video equipment, and more.
➜ learnlinux.link/amazon
Grab an awesome Pi-powered KVM
Support Learn Linux TV and grab yourself a TinyPilot KVM here:
➜ learnlinux.link/tinypilot
Note: Royalties and/or commission is earned from each of the above links
Time Codes
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
Full Courses from Learn Linux TV
• Linux Essentials Certification Workshop ➜ learnlinux.link/lpi-course
• Linux Crash Course series ➜ linux.video/cc
• Learn how to use tmux ➜ linux.video/tmux
• Learn how to use vim ➜ linux.video/vim
• Bash Scripting Series ➜ linux.video/bash
• Proxmox VE Cluster Full Course ➜ linux.video/pve
• Learn Ansible ➜ linux.video/ansible
Linux-related Podcasts
• Enterprise Linux Security ➜ enterpriselinuxsecurity.show
• The Homelab Show ➜ thehomelab.show
Learn Linux TV on the Web
• Main site ➜ www.learnlinux.tv
• Community ➜ community.learnlinux.tv
• Enterprise Linux Security Podcast ➜ enterpriselinuxsecurity.show
• The Homelab Show Podcast ➜ thehomelab.show
• Content Ethics ➜ www.learnlinux.tv/content-ethics
• Request Assistance ➜ www.learnlinux.tv/request-ass...
Disclaimer
Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. The person viewing Learn Linux TV's content is expected to follow their best judgement and to make their best decisions while working with any related technology. Always make sure you have written permission before working with any infrastructure. Also, be sure that you're compliant with all company rules, change control procedures, and local laws.
#Linux #LearnLinux #LinuxTutorial

Пікірлер: 41
@emmashepard2070
@emmashepard2070 Жыл бұрын
Have a linode box. SSH on port 22. (password disabled, root disabled). Took the output of authlog. Made a quick Python script to save all the user login attempts. Every day had well into 300 unique user login attempts. Logs are useful :D
@slobgoblin
@slobgoblin Жыл бұрын
Perfect timing - I'm covering some logging material this week in my Linux class. Always nice to get some extra info! Also, digging the new woodgrain aesthetic in the studio!
@nevarius9010
@nevarius9010 Жыл бұрын
SAME lmao
@user-bz5qg2tv6c
@user-bz5qg2tv6c Жыл бұрын
greetings from Mexico, awesome channel. I plan to go through all your videos of linux crash Course and i plan to do it within a month
@kanutomay
@kanutomay Жыл бұрын
Great video! I think the /var/log/messages file is very important as well
@SimonHuenecke
@SimonHuenecke Жыл бұрын
really nice videos, always covering little edges i didn't know about
@WaySensei
@WaySensei Жыл бұрын
As a relatively new linux desktop user, this is very helpful for me to understand how to troubleshoot my system.
@theshadow6273
@theshadow6273 3 ай бұрын
As a beginner, I found this to be very helpful towards learning about the tools available for troubleshooting in linux and in my case, ubuntu! Thank you!
@Lucas_Fidalgo
@Lucas_Fidalgo Жыл бұрын
For a noob in this, that's a lot of easy to understand functions, great content!
@SoniaChavez-je7hq
@SoniaChavez-je7hq 5 ай бұрын
Superb way of explaining.
@manojkumar-lf1ei
@manojkumar-lf1ei 6 ай бұрын
Your videos are different from the others and will be useful for the newbies who steps into the system administrator career.
@portfedh
@portfedh Жыл бұрын
Great Video! Thanks
@KR1ML0N
@KR1ML0N Жыл бұрын
Get to know your log files while working in IT.
@jacksoncremean1664
@jacksoncremean1664 Жыл бұрын
You truly have no idea how many problems you can fix just by looking at the logs
@ethanrivers4057
@ethanrivers4057 Жыл бұрын
In my work we were having an issue where a VM was losing their TC connection. Problem been going on for months maybe a year. I got assigned the issue. Looked at the logs, immidiately found the problem.
@juanrebella2589
@juanrebella2589 Жыл бұрын
Thanks! 😄
@zameerpashablr
@zameerpashablr Жыл бұрын
Lot of information and learning from you.
@albertoleo9529
@albertoleo9529 Жыл бұрын
Very interesting as usual. Thank you for your great content A question: how can I (permanently) clean all the logs? Maybe also regularly or on shutdown. Thank you
@diablobarcelona
@diablobarcelona Жыл бұрын
dmesg -T is a handy one
@djamolmukhtarov3328
@djamolmukhtarov3328 8 ай бұрын
We need lots s of videos from you plz, everything about Linux for system engineers
@jwspock1690
@jwspock1690 Жыл бұрын
tnx for the video
@rcdenis1
@rcdenis1 Жыл бұрын
lnav can be a very handy tool, I use it all the time.
@georgehope5477
@georgehope5477 Жыл бұрын
So this is a mix of journald and rsyslogd due to the switch from fedora to ubuntu which is a little confusing. Rsyslogd has been deprecated, would you advise running it in parallel?
@andreas_tech
@andreas_tech Жыл бұрын
Thanks. Do you know, how I can see, which files were downloaded (or edited) during a specific time period (days)?! I have an apache linux machine. Big thanks
@canahmetbe
@canahmetbe Жыл бұрын
Thanks. Could you make a video about NIC Teaming in Ubuntu please?
@JohanEkelund84
@JohanEkelund84 Жыл бұрын
Great video as usual! One question, when you install different distros all day long, how do you do this? Using USB thumbdrives? Or do you use som sort of PXE boot install solution for this? I have been looking for a solution for this that is not to much of a pain to use. Thanks!
@0eieiei
@0eieiei Жыл бұрын
Virtual machines, my guy. Linode. There's videos on all of it.
@2mustange
@2mustange Жыл бұрын
I need to keep that follow option in my pocket more. The amount of FTP connection issues i go through that would be helpful to have when viewing the auth.log.
@HanTrio
@HanTrio Жыл бұрын
Alternatively, you can also press "F" (capital f) when using less, or open a file in "follow mode" with less +F /path/to/file
@G.T828
@G.T828 Жыл бұрын
Do a systemV tutorial as well please
@WillsJazzLoft
@WillsJazzLoft Жыл бұрын
I do not own a server. Yet, I wish to better understand what's going on in my distro the way a Windows power user would using Event Viewer
@thesilentgeneration
@thesilentgeneration 7 ай бұрын
I just recently installed Mint and the OS did prompt me after installation to add Nvidia and I did so with no problem.
@ElreyRayo
@ElreyRayo Жыл бұрын
Wow!
@michaelwaterman3553
@michaelwaterman3553 Жыл бұрын
Great video and explanation again! @jay would you consider a video on an unattended installation of Ubuntu using preseed?
@voiceoftreason1760
@voiceoftreason1760 Жыл бұрын
how do you get the green glow around your terminal?
@LearnLinuxTV
@LearnLinuxTV Жыл бұрын
That’s done in post processing. It’s not actually like that in real life.
@dontmindbeingblindd
@dontmindbeingblindd Жыл бұрын
I have an arch vm. Would it have logs as well?
@deprimarvin5382
@deprimarvin5382 Жыл бұрын
Essentially every Linux distribution has logs. Arch uses systemd, so most logs can be viewed with journalctl.
@WorldWorrier3273
@WorldWorrier3273 Жыл бұрын
Hello brother, please explain halt cmd🤔
@daredevil6145
@daredevil6145 Жыл бұрын
12:03
Linux Crash Course - The diff Command
22:21
Learn Linux TV
Рет қаралды 17 М.
Linux Crash Course - Understanding Memory and Swap Usage
20:55
Learn Linux TV
Рет қаралды 43 М.
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 34 МЛН
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 16 МЛН
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 8 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 158 МЛН
What is $PATH on a Linux Shell? (The Linux Crash Course Series)
21:52
Learn Linux TV
Рет қаралды 31 М.
Linux Monitoring and Logging | HackerSploit Linux Security
24:56
Akamai Developer
Рет қаралды 29 М.
Linux Crash Course - Symbolic Links
30:07
Learn Linux TV
Рет қаралды 59 М.
Filtering .log files, with cat, grep, cut, sort, and uniq
15:36
Linux Crash Course - The lsof Command
23:49
Learn Linux TV
Рет қаралды 30 М.
Linux is a MAJOR Rabbit Hole
36:40
TechHut
Рет қаралды 637 М.
Top 10 Linux Job Interview Questions
16:04
tutoriaLinux
Рет қаралды 2,3 МЛН
Linux Crash Course - Data Streams (stdin, stdout & stderr)
17:13
Learn Linux TV
Рет қаралды 50 М.
Опыт использования Мини ПК от TECNO
1:00
Андронет
Рет қаралды 520 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,6 МЛН
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 622 М.
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,9 МЛН