Linux Crash Course - The diff Command
Ғылым және технология
In the Linux Crash Course series, we go over one important foundational topic around Linux one video at a time! And this time around, the diff command takes the spotlight. In this video, you'll see examples of the diff command in action, and more.
Thanks to Linode for sponsoring the Linux Crash Course series! Check them out and get your very own cloud Linux server ➜ learnlinux.link/akamai
🎓 CROWDSTRIKE CRASH SURVIVOR T-SHIRT
Commemorate the largest outage in history with the latest addition to the LLTV merch shop.
Get yours here ➜ learnlinux.link/crash-shirt
🎓 BRAND NEW UDEMY COURSES AVAILABLE!
Check out my new courses on Udemy and learn something new!
• Getting Started with Ansible ➜ learnlinux.link/ansible
• LPI Linux Essentials Complete Workshop ➜ learnlinux.link/linux-essentials
🐧 SUPPORT LINUX LEARNING!
• Grab some Linux swag ➜ merch.learnlinux.tv
• Become a Channel Member ➜ learnlinux.link/member
• Become a Patron ➜ learnlinux.link/patron
• 5% discount on LPI exam vouchers ➜ learnlinux.link/lpi-voucher
• Check out my latest book ➜ ubuntuserverbook.com
• Grab an awesome Pi-powered KVM ➜ learnlinux.link/tinypilot
• Jay's Gear - Server, Computer and Video Production Stuff ➜ learnlinux.link/amazon
Note: Royalties and/or commission is earned from each of the above links
⏰ TIME CODES
00:00 - Intro
00:46 - Get your very own cloud Linux server with Linode (sponsor)
02:03 - Quick summary of the diff command
04:12 - Having the diff command explicitly tell us if files are identical or not
06:17 - A real world example showing a situation in which the diff command can help you out
11:47 - Understanding the output of the diff command
13:44 - What do the characters mean within the output of the diff command?
15:18 - Another example of comparing two files with diff, but with more advanced change characters
18:27 - Colorized output with the diff command
19:33 - Viewing more verbose output with the diff command*🎓 FULL LINUX COURSES FROM LEARN LINUX TV*
• Linux Crash Course ➜ linux.video/cc
• Learn tmux ➜ linux.video/tmux
• Learn vim ➜ linux.video/vim
• Bash Scripting Series ➜ linux.video/bash
• Proxmox VE ➜ linux.video/pve
• Getting Started with Ansible (Udemy) ➜ learnlinux.link/ansible
• LPI Linux Essentials Workshop (Udemy) ➜ learnlinux.link/linux-essentials
🌐 LEARN LINUX TV ON THE WEB
• Main site ➜ www.learnlinux.tv
• Community ➜ community.learnlinux.tv
• Official Github Account ➜ github.com/LearnLinuxTV
• Enterprise Linux Security Podcast ➜ enterpriselinuxsecurity.show
• The Homelab Show Podcast ➜ thehomelab.show
• Jay on Udemy ➜ www.udemy.com/user/jay-lacroix-3
• Jay on Twitter ➜ x.com/JayTheLinuxGuy
• 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. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws.
#Linux #CommandLine #LinuxTutorial
Пікірлер: 27
Yesterday I was wondering how to use the "diff" command :) thx for reading my mind.
Diff and patch, two utils you have to learn and understand, not only for coding but also for managing the OS. Diff is the keystone in tools like git. And more, Github and so many were not exists without diff.
Been studying an extensive Linux course for a little over a month. Yesterday was the moment of truth - me installing Linux on my laptop. Couldn't even install it properly. But I'm not giving up
@kmp3e
Жыл бұрын
If you want help, we here can help you. What distro do you have and any specialized hardware you have. Also, duel booting of same drive or multi drive or wiping existing system
@marcin2x4
Жыл бұрын
@@kmp3e A good alternative I recommend is WSL2 :)
@miss-astronomikal-mcmxcvii
Жыл бұрын
Have you been able to get it installed?
Always nice to get a refresher, thanks Jay!
this KZread channel is the best linux tutorial channel ever!!
Great tutorial! It was very useful and easy to understand.
awesome video Jay. Thanks.
Thank you. 😀
Your content is understated megagenius. 👍
Great tutorial, Jay 💪
Spiderman is my favorite as well 😀👍
Thanks again.
Usually, I use "meld" when I compare files, but that is a GUI program.
Great video Jay! .... but hey!?!? That Fedora cup is from Red Hat's employee online store.🤔🤔 You a fellow Red Hatter?
i really like the logo of your cup😄fedora
Good video. The file changes at 10:26 and 11:54 are different. At 11:54 you have the #
The diff command is the best command.
5:10 change 5:47 diff result with c indicator 6:08
I like vimdiff (call me old fashion)...🙂
Robin Williams teach us how to hack the Jumanji game:)
I miss the difference of seeing the difference in 2 folders. if you run a backup on a folder and want to know that all files were included.
dropped at 8:03. this is supposed to be about diff. LCC is off my list. just a sales pitch, only a cloud that doesn't cloud seems to be a poor marketing plan.
colordiff - just hope you're not red/green colourblind!