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>.
|
|
|
|
|
|
|
|
|
|
- مقایسه فایل ها (فهرست تغییرات فایل های قدیمی به جدید) :
|
|
|
|
|
|
2024-01-05 10:18:59 +00:00
|
|
|
|
`diff {{old_file}} {{new_file}}`
|
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
|
|
|
|
|
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
|
|
|
|
|
2024-01-05 10:18:59 +00:00
|
|
|
|
`diff --ignore-all-space {{old_file}} {{new_file}}`
|
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
|
|
|
|
|
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
|
|
|
|
|
2024-01-05 10:18:59 +00:00
|
|
|
|
`diff --side-by-side {{old_file}} {{new_file}}`
|
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
|
|
|
|
|
|
|
|
|
- مقایسه فایل ها، به نمایش تفاوت ها به صورت یکپارچه (همانند `git diff`) :
|
|
|
|
|
|
2024-01-05 10:18:59 +00:00
|
|
|
|
`diff --unified {{old_file}} {{new_file}}`
|
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
|
|
|
|
|
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
|
|
|
|
|
2024-01-05 10:18:59 +00:00
|
|
|
|
`diff --recursive {{old_directory}} {{new_directory}}`
|
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
|
|
|
|
|
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
|
|
|
|
|
2024-01-05 10:18:59 +00:00
|
|
|
|
`diff --recursive --brief {{old_directory}} {{new_directory}}`
|
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
|
|
|
|
|
|
|
|
|
- از تفاوت دو فایل متنی یک بروزرسانی میسازد، فایل های ناموجود را خالی فرض میکند :
|
|
|
|
|
|
2024-01-05 10:18:59 +00:00
|
|
|
|
`diff --text --unified --new-file {{old_file}} {{new_file}} > {{diff.patch}}`
|