Monday, April 21, 2014

How to unzip file in Kali Linux or any Linux

Kali Info













.ZIP is an archive file format that supports lossless data compression. 
A .ZIP file may contain one or more files or folders that may have been compressed.

Use following commands to unzip a file:

unzip command is used to extract all the files of a zip archive to your current directory
unzip filename.zip

You can also test the .zip file ( i.e. make sure its OK or not) by the following command.
The command prints a summary message indicating whether it is usable or broken 
unzip -tq filename.zip

To extract an individual file from a zip archive 
( Let us suppose the name of the file as fun.doc) 
unzip filename.zip fun.txt

Extract all files of the zip into the /tmp directory  
unzip filename.zip -d /tmp

List the files of the archive without unzipping them
unzip -l filename.zip

NOTE- Still if you are having any trouble so, just comment below.
Do you Like this story..?

Get Free Email Updates Daily!

Follow us!

5 comments:

  1. i cnt open my file...it always shows that it cannot find file......my file is a "rar" file....so plsss tell me how i cn unzip it.............

    ReplyDelete
    Replies
    1. You can't unzip a .rar file. You unrar it. You unzip .zip files.

      Delete
  2. I'm doing it all right but the terminal keeps saying "unzip" command not found

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Terminal says unzip command not found

    ReplyDelete