---
title: "Discussion on \"Linux command: Diff/Patch\" | Hashnode"
description: "Discussion on \"Linux command: Diff/Patch\". diff will calculate the difference of two files or folders and output with specific format. patch parse that specific format and apply difference to files or folders.\nExample for Files\nHere we prepare"
url: "https://hashnode.com/posts/linux-command-diff-patch/6241b8bd1bfa97c5345e9f2c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Linux command: Diff/Patch](https://notes.mukyu.dev/linux-command-diff-patch?utm_source=hashnode&utm_medium=feed)

diff will calculate the difference of two files or folders and output with specific format. patch parse that specific format and apply difference to files or folders. Example for Files Here we prepare

Nov 18, 2021 · 2 min read · notes.mukyu.dev  
Updated Oct 27  
Read the article

-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Patchouli](https://hashnode.com/@mudream4869)

@mudream4869 · Uohout

  
[View profile](https://hashnode.com/@mudream4869)

工程師帕秋莉~

後端工程師。 不定時張貼一些寫扣時的筆記，有時英文，有時中文。 「如果，我是魔女的話...」

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
