file
Linux · Files · available in the simulator
What it does
Determines file type by inspecting its contents.
Syntax
file [opciones] archivo...
Options and parameters
-iOutputs MIME type strings.
file -i imagen.png-bBrief mode; displays only the type, omitting the file name.
-LFollows symbolic links.
Usage examples
file imagen.pngfile -i documento.pdffile foto.pngfile -i archivofile -i imagen.png