How to determine the type of file in Linux?

Linux has an excellent built-in utility file, which determines the type of files and a lot of other information about the files.

Suppose we have files without an extension and to view information about all the files in the current directory, execute the command:

file *

For a specific file:

file NAME

Leave a comment

Leave a Reply

Discover more from IT Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading