Linux System Administration
Intermediate Commands
file
The file command will give you the best guess as to the type (format) of file you are investigating.
file filename
While this command may not seem too useful, it can be quite handy if you encounter a file that you are unsure of.
Remember that the extension of the file is not always indicative of the type of the file, especially if your system has been compromised.
Prev
Page 6
Next