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
  • Наука та технологія

КОМЕНТАРІ • 26

  • @toweliethetowel8280
    @toweliethetowel8280 Рік тому +6

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

  • @juanmiguel4682
    @juanmiguel4682 Рік тому +4

    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 Рік тому +16

    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 Рік тому +5

      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 Рік тому +1

      Have you been able to get it installed?

  • @englishwithtsania
    @englishwithtsania 6 місяців тому

    this UA-cam channel is the best linux tutorial channel ever!!

  • @slobgoblin
    @slobgoblin Рік тому +2

    Always nice to get a refresher, thanks Jay!

  • @patrickprucha5522
    @patrickprucha5522 11 місяців тому

    Spiderman is my favorite as well 😀👍

  • @portfedh
    @portfedh Рік тому +1

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

  • @alexycox1347
    @alexycox1347 2 місяці тому

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

  • @ArniesTech
    @ArniesTech Рік тому

    Great tutorial, Jay 💪

  • @michalroesler
    @michalroesler 10 місяців тому

    awesome video Jay. Thanks.

  • @chromerims
    @chromerims Рік тому +2

    Your content is understated megagenius. 👍

  • @user-io5us2sy9u
    @user-io5us2sy9u Рік тому

    i really like the logo of your cup😄fedora

  • @act.13.41
    @act.13.41 Рік тому

    Thank you. 😀

  • @nymnicholas
    @nymnicholas Рік тому +1

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

  • @mihai6564
    @mihai6564 11 місяців тому

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

  • @martinboone1043
    @martinboone1043 Рік тому

    Thanks again.

  • @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 Рік тому +1

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

  • @Ray.wp.
    @Ray.wp. Рік тому +1

    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
    @cmahte 6 місяців тому

    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!