Linux Crash Course - The diff Command
Вставка
- Опубліковано 1 чер 2024
- 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
Brand LPI Linux Essentials Course Available
Now just $44.99 for a limited time! ➜ learnlinux.link/lpi-course
➜ learnlinux.link/lpi-course
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 UA-cam 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: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 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 #CommandLine #LinuxTutorial - Наука та технологія
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
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
@@kmp3e A good alternative I recommend is WSL2 :)
Have you been able to get it installed?
this UA-cam channel is the best linux tutorial channel ever!!
Always nice to get a refresher, thanks Jay!
Spiderman is my favorite as well 😀👍
Great tutorial! It was very useful and easy to understand.
Great video Jay! .... but hey!?!? That Fedora cup is from Red Hat's employee online store.🤔🤔 You a fellow Red Hatter?
Great tutorial, Jay 💪
awesome video Jay. Thanks.
Your content is understated megagenius. 👍
i really like the logo of your cup😄fedora
Thank you. 😀
Usually, I use "meld" when I compare files, but that is a GUI program.
Good video.
The file changes at 10:26 and 11:54 are different. At 11:54 you have the #
Thanks again.
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!