Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/tasks/determine1.html
Дата изменения: Fri Jan 17 12:43:23 1997
Дата индексирования: Tue Oct 2 01:33:01 2012
Кодировка:

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

Examples of using the file command

To check the identity of a single file:

   file ReportA
   ReportA:        Frame Maker document

This checks the identity of the file ReportA and reports that this file has been created using the Frame Maker application.


To check the identity of several files:

   file *
   external.c:     c program text
   external.h:     c program text
   mc:             sparc demand paged dynamically linked executable
   mcXThelp:       executable shell script
   mcdemo:         executable shell script
   mchelp:         executable shell script
   mchome:         executable shell script
   mctools:        executable shell script

This checks the identity of every file in the current directory. Notice how it reports whether a file is an executable binary or a shell script.


[Home] [Search] [Index]