file
Show the type of contents of a file
Usage: file list-of-files
Standard Input: Not used
Standard Output: Used to display results
Note
If there is no magic number, the file command makes its best guess as to the contents based on the beginning of the file.
SEE ALSO
For more information, see page 179 |
Get Practical UNIX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.