1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.it/common/cmp.md

13 lines
326 B
Markdown
Raw Normal View History

2019-05-28 17:49:06 +02:00
# cmp
> Compara due file.
2021-03-31 12:29:51 +02:00
> Maggiori informazioni: <https://www.gnu.org/software/diffutils/manual/html_node/Invoking-cmp.html>.
2019-05-28 17:49:06 +02:00
- Trova l'indice del primo byte e della prima riga differente tra due file:
`cmp {{file1}} {{file2}}`
- Trova ogni coppia di byte differenti ed il relativo indice:
`cmp -l {{file1}} {{file2}}`