Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/examples/find.html
Дата изменения: Fri Jan 17 12:43:16 1997
Дата индексирования: Mon Oct 1 23:36:03 2012
Кодировка:

Поисковые слова: п п п п п п п п п п п п р п р п р п
Examples of using the find command

Examples of using the find command

To find a single file below the current directory:

   find . -name mtg_jan92 -print

This displays the pathname to the file mtg_jan92 starting from the current directory. If the file is not found nothing is displayed.


To find a file below your home directory:

   find ~/ -name README -print

This displays the pathname to every file with the name README in your home directory or its subdirectories.


To find several files below the current directory:

   find . -name '*.fm' -print

This displays the pathname to any file with the extension .fm which exists below the current directory.


To find a directory:

   find /usr/local -name gnu -type d -print

This searches to see if there is a subdirectory gnu in the directory /usr/local.


[Home] [Search] [Index]