Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/examples/cp1.html
Дата изменения: Fri Jan 17 12:43:16 1997 Дата индексирования: Mon Oct 1 23:16:15 2012 Кодировка: Поисковые слова: aurora |
To copy a single file in the current directory:
cp notes sect3.txt
This makes a copy of the file notes in the file sect3.txt.
To copy a file using the -i option:
cp -i notes part2.txt
This makes a copy of the file notes in the file part2.txt. If this file exists, the message
part2.txt: File exists
is displayed. The file is not copied.