Linux - Determine file type

September 2017

Under the system Unix and Linux, the file extension does not have any importance, i.e a file named file.jpg can even be an HTML page like a sound file under format WAV which can be accessed with the existing under the Operating system.

*To know the type of file, run the command:

File filename


Published by deri58. Latest update on November 24, 2009 at 07:56 AM by deri58.
This document, titled "Linux - Determine file type," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (