How To Quickly Find The File Type From Linux Mint/Ubuntu Command Line
January 27, 2012
Here is a quick way to find out properties of different files directly using the Linux Mint / Ubuntu command line.
1. Open Terminal and type :
[cc lang=”bash”]
file nameoffile
[/cc]
It will display what kind of file type is the given file along with a few other properties. This can be useful when there are a lot of files that need to be checked for properties and then store the information for reference.
For checking out other options supported with file command, use the following :
[cc lang=”bash”]
file –help[/cc]
Cheers.
