How to Unzip Files in Linux
Locate your zipped folder., Note the name of the zipped folder., Click Menu., Click the Terminal icon., Type unzip filename.zip into Terminal., Press ↵ Enter., Navigate to the zipped folders' directory., Type pwd into Terminal and press ↵ Enter...
Step-by-Step Guide
-
Step 1: Locate your zipped folder.
If it's in the Documents directory, for example, you'll open your Documents folder. , You'll need to enter the zipped folder's name exactly as it appears on the folder here.
Remember to take into account pacing and capitalization. , It's in the bottom-left corner of the screen., This icon is a black box with a white ">_" on it.
You should see Terminal either in the bar on the left side of the Menu window, or in the group of programs listed in the Menu window.
You can also search for Terminal by clicking the search bar at the top of the Menu window and then typing in terminal. , You'll replace the "filename" part of the command with your zipped folder's name.
For example, if your folder is named "BaNaNa"
you'd type unzip BaNaNa.zip into Terminal. , Doing so will run your command and unzip your selected folder., To do this, you'll simply open the folder in which your zipped folders are stored.
Attempting to run the "unzip" command on all folders from you current directory could result in accidentally unzipping folders you didn't mean to unzip. , This will run the "pwd" command, which will display your current directory's name.This step is simply to ensure that you're in the right place before unzipping. , This command searches for any folders in your current directory with the ".zip" file extension.
Placing quotation marks around the *.zip part of this command contains the command to the current directory. , Doing so will run the command and unzip your folders.
You'll be able to view their contents in the directory in which they are located.
If this command doesn't work, try instead typing unzip /*zip into Terminal. -
Step 2: Note the name of the zipped folder.
-
Step 3: Click Menu.
-
Step 4: Click the Terminal icon.
-
Step 5: Type unzip filename.zip into Terminal.
-
Step 6: Press ↵ Enter.
-
Step 7: Navigate to the zipped folders' directory.
-
Step 8: Type pwd into Terminal and press ↵ Enter.
-
Step 9: Type unzip "*.zip" into Terminal.
-
Step 10: Press ↵ Enter.
Detailed Guide
If it's in the Documents directory, for example, you'll open your Documents folder. , You'll need to enter the zipped folder's name exactly as it appears on the folder here.
Remember to take into account pacing and capitalization. , It's in the bottom-left corner of the screen., This icon is a black box with a white ">_" on it.
You should see Terminal either in the bar on the left side of the Menu window, or in the group of programs listed in the Menu window.
You can also search for Terminal by clicking the search bar at the top of the Menu window and then typing in terminal. , You'll replace the "filename" part of the command with your zipped folder's name.
For example, if your folder is named "BaNaNa"
you'd type unzip BaNaNa.zip into Terminal. , Doing so will run your command and unzip your selected folder., To do this, you'll simply open the folder in which your zipped folders are stored.
Attempting to run the "unzip" command on all folders from you current directory could result in accidentally unzipping folders you didn't mean to unzip. , This will run the "pwd" command, which will display your current directory's name.This step is simply to ensure that you're in the right place before unzipping. , This command searches for any folders in your current directory with the ".zip" file extension.
Placing quotation marks around the *.zip part of this command contains the command to the current directory. , Doing so will run the command and unzip your folders.
You'll be able to view their contents in the directory in which they are located.
If this command doesn't work, try instead typing unzip /*zip into Terminal.
About the Author
Joshua Gray
Committed to making practical skills accessible and understandable for everyone.
Rate This Guide
How helpful was this guide? Click to rate: