Determining file type

The file command examines the content of a file and reports what type of file it is.

To use the command enter:

   file filename

Use this command to check the identity of a file, or to find out if executable files contain shell scripts, or are binaries. Shell scripts are text files and can be displayed and edited.


[Home] [Search] [Index] This site maintained by webmaster@deslab.mit.edu