Which command is used to identify files?

Which command is used to identify files?
Answer
The file command uses the /etc/magic file to identify files that have a magic number; that is, any file containing a numeric or string constant that indicates the type. This displays the file type of myfile (such as directory, data, ASCII text, C program source, or archive).
 

Tìm kiếm

Back
Top