Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/utilities2/diff2.1.html
Дата изменения: Fri Jan 17 12:43:26 1997 Дата индексирования: Tue Oct 2 01:59:07 2012 Кодировка: Поисковые слова: р п р п р п р п р п р п р п р п р п р п |
You can use the diff command to compare the contents of two directories:
diff directory1 directory2
The information given by the command tells you what to do to make the directories match. If there is no difference between the directories you are returned to the shell prompt.
diff reports if a file or directory is only to be found in directory1 or directory2. It also reports any line by line differences for files that are common to each directory.