While working on the Linux command line, there may be times when you’d encounter a file which is an archive (say a .zip file), but its extension (or lack of it) would suggest otherwise. It’s in times like these, the file command proves helpful as it lets you determine the actual file type.