Sunday, January 13, 2008

How to identify the original file type of a file in Linux

In Linux most files do not have file extensions.
Using the File command you can determine what is the real filetype of a certain file.

type File [filename]

Filename is the identifier to a given file.
File extensions is the identifiers following a dot (.) at the end of filename.

No comments: