Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/tasks/rm1.2.1.html
Дата изменения: Fri Jan 17 12:43:25 1997
Дата индексирования: Mon Oct 1 23:32:40 2012
Кодировка:
Examples of removing directories

Examples of removing directories

To remove an empty directory:

   rmdir docs

This removes the empty directory docs from the current directory.


To remove a directory containing files and subdirectories:

   rm -r projectX

This deletes the directory projectX and any files or subdirectories that it holds.


To remove a directory interactively:

   rm -ir plan9

This will prompt you for confirmation before removing each subdirectory, any files and the directory plan9 itself.


[Home] [Search] [Index]