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

  • @toweliethetowel8280
    @toweliethetowel8280 Жыл бұрын

    Yesterday I was wondering how to use the "diff" command :) thx for reading my mind.

  • @juanmiguel4682
    @juanmiguel4682 Жыл бұрын

    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.

  • @user-vo8ie8fy3d
    @user-vo8ie8fy3d Жыл бұрын

    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

    @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

    @marcin2x4

    Жыл бұрын

    @@kmp3e A good alternative I recommend is WSL2 :)

  • @miss-astronomikal-mcmxcvii

    @miss-astronomikal-mcmxcvii

    Жыл бұрын

    Have you been able to get it installed?

  • @slobgoblin
    @slobgoblin Жыл бұрын

    Always nice to get a refresher, thanks Jay!

  • @englishwithtsania
    @englishwithtsania9 ай бұрын

    this KZread channel is the best linux tutorial channel ever!!

  • @portfedh
    @portfedh Жыл бұрын

    Great tutorial! It was very useful and easy to understand.

  • @michalroesler
    @michalroesler Жыл бұрын

    awesome video Jay. Thanks.

  • @act.13.41
    @act.13.41 Жыл бұрын

    Thank you. 😀

  • @chromerims
    @chromerims Жыл бұрын

    Your content is understated megagenius. 👍

  • @ArniesTech
    @ArniesTech Жыл бұрын

    Great tutorial, Jay 💪

  • @patrickprucha5522
    @patrickprucha5522 Жыл бұрын

    Spiderman is my favorite as well 😀👍

  • @martinboone1043
    @martinboone1043 Жыл бұрын

    Thanks again.

  • @nymnicholas
    @nymnicholas Жыл бұрын

    Usually, I use "meld" when I compare files, but that is a GUI program.

  • @alexycox1347
    @alexycox13474 ай бұрын

    Great video Jay! .... but hey!?!? That Fedora cup is from Red Hat's employee online store.🤔🤔 You a fellow Red Hatter?

  • @user-io5us2sy9u
    @user-io5us2sy9u Жыл бұрын

    i really like the logo of your cup😄fedora

  • @mihai6564
    @mihai6564 Жыл бұрын

    Good video. The file changes at 10:26 and 11:54 are different. At 11:54 you have the #

  • @christopherjackson2157
    @christopherjackson2157 Жыл бұрын

    The diff command is the best command.

  • @ruixue6955
    @ruixue6955 Жыл бұрын

    5:10 change 5:47 diff result with c indicator 6:08

  • @ubeaut
    @ubeaut Жыл бұрын

    I like vimdiff (call me old fashion)...🙂

  • @Ray.wp.
    @Ray.wp. Жыл бұрын

    Robin Williams teach us how to hack the Jumanji game:)

  • @Theborg72
    @Theborg72 Жыл бұрын

    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.

  • @cmahte
    @cmahte8 ай бұрын

    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.

  • @toromac9786
    @toromac9786 Жыл бұрын

    colordiff - just hope you're not red/green colourblind!

Келесі