How do you unzip files in Linux?


Quick Answer

You can unzip files in Linux using the Terminal or a third-party application. Zip files, also known as archived files, compress data into a smaller size for storing, uploading and downloading.

Continue Reading

Full Answer

  1. Use the Terminal

    The Linux Terminal provides options for unzipping files, uninstalling programs, locating documents and more. Click the Terminal icon on your dock if your Linux operating system has one pre-installed. Otherwise, look for the Terminal in the settings on the panel. In Ubuntu, press the hot key "Ctrl+Alt+T" to open the Terminal.

  2. Place the zip file in the root folder

    Move the file to the root folder to make the unzip process easier. Using a graphical file manager, locate the file. Cut the file from its current folder, and move back up toward the root folder. Paste the file, and exit the file manager.

  3. Unzip the file

    Use the unzip command in the Terminal to extract the file. In the terminal, type "unzip -j (X)" without quotes and with (X) representing the name of the file. This command unzips the file into the current directory. If you want to unzip the file into the current directory and any subdirectories, type "unzip (X)."

  4. Use a third-party program

    Download and install p7zip from the Web. This program also unzips files using Terminal commands.

Learn more about Computer Programming

Related Questions