George V. Reilly

The Unix file Command

I had forgotten all about the file command until it was mentioned in a Stack­Over­flow answer today. If you run file some.iso, it will display the label embedded in the disk image. More generally, you can run file on many different kinds of files and it will do a decent job of iden­ti­fy­ing the type of data.

blog comments powered by Disqus
Review: Spy Line » « ssh IdentitiesOnly