How To Quickly Find The File Type From Linux Mint/Ubuntu Command Line

Written by admin. Posted in Linux, Mint, Ubuntu

Tagged: , , , , , ,

Published on January 27, 2012 with No Comments">No Comments

FacebookTwitterStumbleUponPinterestTumblrEmailGoogle+PrintShare

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 :

file nameoffile

File command in Linux Mint / Ubuntu

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 :

file --help

Cheers.

 

FacebookTwitterStumbleUponPinterestTumblrEmailGoogle+PrintShare