chmod,chown,clear,cmp,dd,df,diff,echo,export,grep,head,ifconfig, translation-templates/*: add Farsi translation (#10543)
* common/*: add Farsi translation
* contributing-guides/alias-pages.md subcommand-mention.md: added Farsi translation
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* pages.fa/common/chmod cmp dd df diff echo grep ifconfig: reviewed and fix translations
* common-arguments: add Farsi translation
---------
Co-authored-by: mortalpuppet <misagh.sj@mgail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-09 14:57:36 +01:00
|
|
|
|
# diff
|
|
|
|
|
|
|
|
|
|
> مقایسه فایل(ها) و پوشه(ها).
|
|
|
|
|
> اطلاعات بیشتر: <https://man7.org/linux/man-pages/man1/diff.1.html>.
|
|
|
|
|
|
|
|
|
|
- مقایسه فایل ها (فهرست تغییرات فایل های قدیمی به جدید) :
|
|
|
|
|
|
|
|
|
|
`diff {{فایل قدیمی}} {{فایل_جدید}}`
|
|
|
|
|
|
2023-10-26 18:31:26 +01:00
|
|
|
|
- مقایسه فایل ها، با صرف نظر از فاصله های خالی:
|
chmod,chown,clear,cmp,dd,df,diff,echo,export,grep,head,ifconfig, translation-templates/*: add Farsi translation (#10543)
* common/*: add Farsi translation
* contributing-guides/alias-pages.md subcommand-mention.md: added Farsi translation
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* pages.fa/common/chmod cmp dd df diff echo grep ifconfig: reviewed and fix translations
* common-arguments: add Farsi translation
---------
Co-authored-by: mortalpuppet <misagh.sj@mgail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-09 14:57:36 +01:00
|
|
|
|
|
|
|
|
|
`diff --ignore-all-space {{فایل قدیمی}} {{فایل_جدید}}`
|
|
|
|
|
|
2023-10-26 18:31:26 +01:00
|
|
|
|
- مقایسه فایل ها، با نمایش تفاوت ها در کنار هم:
|
chmod,chown,clear,cmp,dd,df,diff,echo,export,grep,head,ifconfig, translation-templates/*: add Farsi translation (#10543)
* common/*: add Farsi translation
* contributing-guides/alias-pages.md subcommand-mention.md: added Farsi translation
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* pages.fa/common/chmod cmp dd df diff echo grep ifconfig: reviewed and fix translations
* common-arguments: add Farsi translation
---------
Co-authored-by: mortalpuppet <misagh.sj@mgail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-09 14:57:36 +01:00
|
|
|
|
|
|
|
|
|
`diff --side-by-side {{فایل قدیمی}} {{فایل_جدید}}`
|
|
|
|
|
|
|
|
|
|
- مقایسه فایل ها، به نمایش تفاوت ها به صورت یکپارچه (همانند `git diff`) :
|
|
|
|
|
|
|
|
|
|
`diff --unified {{فایل قدیمی}} {{فایل_جدید}}`
|
|
|
|
|
|
2023-10-26 18:31:26 +01:00
|
|
|
|
- مقایسه بازگشتی پوشه ها (نمایش اسامی متفاوت فایل ها و پوشه ها و همچنین تغییرات فایل ها):
|
chmod,chown,clear,cmp,dd,df,diff,echo,export,grep,head,ifconfig, translation-templates/*: add Farsi translation (#10543)
* common/*: add Farsi translation
* contributing-guides/alias-pages.md subcommand-mention.md: added Farsi translation
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* pages.fa/common/chmod cmp dd df diff echo grep ifconfig: reviewed and fix translations
* common-arguments: add Farsi translation
---------
Co-authored-by: mortalpuppet <misagh.sj@mgail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-09 14:57:36 +01:00
|
|
|
|
|
|
|
|
|
`diff --recursive {{پوشه_قدیمی}} {{پوشه_جدید}}`
|
|
|
|
|
|
2023-10-26 18:31:26 +01:00
|
|
|
|
- نمایش نام فایل های متفاوت مقایسه شده:
|
chmod,chown,clear,cmp,dd,df,diff,echo,export,grep,head,ifconfig, translation-templates/*: add Farsi translation (#10543)
* common/*: add Farsi translation
* contributing-guides/alias-pages.md subcommand-mention.md: added Farsi translation
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* Update pages.fa/common/chmod.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* pages.fa/common/chmod cmp dd df diff echo grep ifconfig: reviewed and fix translations
* common-arguments: add Farsi translation
---------
Co-authored-by: mortalpuppet <misagh.sj@mgail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-09 14:57:36 +01:00
|
|
|
|
|
|
|
|
|
`diff --recursive --brief {{پوشه_قدیمی}} {{پوشه_جدید}}`
|
|
|
|
|
|
|
|
|
|
- از تفاوت دو فایل متنی یک بروزرسانی میسازد، فایل های ناموجود را خالی فرض میکند :
|
|
|
|
|
|
|
|
|
|
`diff --text --unified --new-file {{فایل قدیمی}} {{فایل_جدید}} > {{تفاوت.patch}}`
|