eHow launches Android app: Get the best of eHow on the go.

How To

How to Unzip a ZIP File in Unix

Contributor
By Launie Sorrels
eHow Contributing Writer
(2 Ratings)
Unzip a ZIP File in Unix
Unzip a ZIP File in Unix
library.thinkquest.org

The ZIP file format is a data compression and archive format. A ZIP file contains one or more files that have been compressed to reduce the file size. It is highly recommended to use the .zip compression format in UNIX so the files can easily be uncompressed in Windows via WinZip or PKunzip. There are two other main forms of compression: the .tar and .gz formats. All three of these formats can easily be unzipped (uncompressed) in the UNIX environment with a single line statement.

Difficulty: Moderately Easy
Instructions
  1. Step 1

    Type "unzip zipfile.zip" where zipfile is the name of the file that you are uncompressing. The "unzip" command allows the user to unzip compressed files with the .zip extension.

  2. Step 2

    Type "tar xvf tarfile.tar" where tarfile is the name of the file that you are uncompressing. The "tar xvf" command allows the user to uncompress compressed files with the .tar extension.

  3. Step 3

    Type "gunzip zipfile.gz" where zipfile is the name of the file that you are uncompressing. The "gunzip" command allows the user to unzip compressed files with the .gz extension. Gunzip converts the file into a tar file without the .tar extension. So, now you must follow Step 2 and type "tar xvf zipfile." Zipfile in this case has no extension.

Subscribe

Post a Comment

Post a Comment

Related Ads

  • Have you done this? Click here to let us know.
I Did This
Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy .   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. † requires javascript

eHow Computers
eHow_eHow Technology and Electronics