Linux - Determine file type

March 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.
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 (