How to Unzip a ZIP File in Unix

How to Unzip a ZIP File in Unix thumbnail
How to Unzip a ZIP File in Unix

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.

Instructions

    • 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

      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

      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.

Related Searches:
  • Photo Credit library.thinkquest.org

Comments

You May Also Like

  • How to Unzip in Unix

    Zip formats are compressed archives that store any number of files and folders. These files are compressed to reduce the size of...

  • How to Unzip a Tar.GZ Unix File

    Unix-based operating systems such as Linux and Mac OS X use ".tar.gz" files to combine and compress multiple files for storage purposes...

  • How to Unzip Multiple Files in Unix

    Unix is an operating system that uses a command-line interface. A free and widely popular version called Linux uses the same commands...

  • How to Unzip a File in Unix

    There are three types of data compression formats commonly used in UNIX: .zip, .tar and .gz. The ZIP file format is most...

  • How to Unzip Multiple Files by Mask in UNIX

    Zipping refers to various program methods that permit you to compress files and hence reduce their size. Before working with zipped files...

  • How to Unzip TAR Files in Unix

    TAR is a command line utility used most often in Unix variants including Unix systems, BSD and Linux. The TAR utility provides...

  • How to Unzip a Z File in Unix

    "Z" files consist of any number of files that have been compressed together into one file using the Unix/Linux "compress" utility. Compressing...

  • Unix Unzip Options

    Unix Unzip Options. The Unix operating system was created by Bell Laboratories in 1969. It's changed over the years but remains in...

  • How to Unzip a GZ File in Unix

    Unix systems support a large number of file compression utilities that vary in the extent of compression provided. The Gzip utility creates...

  • How do I Unzip a File in HP-UX?

    HP-UX, or Hewlett Packard Unix, is Hewlett Packard's implementation of the UNIX operating system. UNIX, to put it simply, is another operating...

Related Ads

Featured