Compare Files in Linux | How to Use the diff Command

  Рет қаралды 8,605

Akamai Developer

Akamai Developer

Күн бұрын

Пікірлер: 14
@LinXnerd
@LinXnerd 2 жыл бұрын
That beard and mustache is a good fit for you. 👍 And thanks for bringing the 'diff' command up. I forgot about it. Now I don't have to download a UI version to check file differences. Isn't it grand that Linux keeps everything in a file!? 😎
@jzjpers
@jzjpers 6 ай бұрын
Good video 👍
@baruchben-david4196
@baruchben-david4196 2 жыл бұрын
Just wondering... I checked the man pages, and find that diff --color will also yield a colored output. Is there any advantage to using colordiff?
@LinXnerd
@LinXnerd 2 жыл бұрын
I think that colordiff might be a little more "personalized". We'll have to test them to see the differences. I see that there is quite a bit of perl code in that colordiff file...
@AkamaiDeveloper
@AkamaiDeveloper 2 жыл бұрын
Based on this StackExchange post, --color and colordiff affected files for certain users differently. Not sure if this is still the case but at some point there was a difference. unix.stackexchange.com/questions/196565/how-to-color-diff-output
@theeightbithero
@theeightbithero Жыл бұрын
oh my gosh! someone who actually speaks English!
@norseironworks
@norseironworks 2 жыл бұрын
20 yrs ago I remember that I had two very large .doc files that should be the same. I used some commnd to merge the two files to a new .doc. file. I can´t remember how I did it. Maybe topic for next video?
@AkamaiDeveloper
@AkamaiDeveloper 2 жыл бұрын
You can use the cat command to merge files. Jay's got a video that covers it on his other channel here: kzbin.info/www/bejne/sGTRe5-vp6-MjZY
@LinXnerd
@LinXnerd 2 жыл бұрын
Oooo...I found diff3, which can compare 3 files at once. 🤓
@LinXnerd
@LinXnerd 2 жыл бұрын
Do diff3 next... diff3! diff3! diff3! ✊
@GergelyCsermely
@GergelyCsermely 2 жыл бұрын
Thanks
@baruchben-david4196
@baruchben-david4196 2 жыл бұрын
I've always wondered how to use that...
@send2gl
@send2gl 2 жыл бұрын
Useful, not one I've used before. But have heard of it.
@omeninomaluquinhodognulinu9937
@omeninomaluquinhodognulinu9937 2 жыл бұрын
I liked 👍
Linux Crash Course - The diff Command
22:21
Learn Linux TV
Рет қаралды 19 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
How to use the ps Command | Linux Command Line Basics
14:45
Akamai Developer
Рет қаралды 35 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,7 МЛН
Minimal Arch Install. The way we do it in KY :)
19:43
Colby Braden
Рет қаралды 478
Linux df and du Commands | How to Check Linux Disk Space Usage
19:08
Akamai Developer
Рет қаралды 13 М.
How to Use Tar on Linux | Command Line Tips from Linode's Top Docs
23:26
Everything You Need to Know About sudo | Linux Essentials Tutorial
23:51
Akamai Developer
Рет қаралды 41 М.
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,3 МЛН
How to Use The ls Command on the Linux Command Line
27:35
Learn Linux TV
Рет қаралды 19 М.
String Theory is Falsifiable After All, String Theorists Say
6:37
Sabine Hossenfelder
Рет қаралды 16 М.
The htop Command | Linux Essentials Tutorial
13:44
Akamai Developer
Рет қаралды 32 М.