Translate

Archives

Image of Linux Kernel Development (3rd Edition)
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Modern Operating Systems (3rd Edition)
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)

Gzip v Zip: Determing Which Type Of Archive

Sometimes it is different to easily tell which type of zipped archive you are dealing with because the zipped archive has an incorrect extension or no extension at all. Here is how to tell which you are dealing with: Zip file header: $ od -h zipped-file |head 0000000 8b1f … Gzip file header: $ od -h zipped-file |head 0000000 4b50 0403 …