To determine the type of a file, you use the file
command. This command runs three sets of tests: filesystem tests, magic
number tests, and language tests. The first test that succeeds causes
the file type to be printed. For example, if a file is a text file, it
will be recognized as ASCII text.
Here is a couple of examples:
Here is a couple of examples:
Post a Comment