Unzip a File in Linux/Ubuntu

0

File compression can be entire in a variety of ways on a Linux gadget. the easiest way to resolve which approach to make use of to de-compress your file is to take a look at the extension. if your extension is .zip, then you can use the instructions below to de-compress your files. in case your extension is .tar, .tar-gz, or .gz, you should utilize our other how-to article. the usage of the zip/unzip technique to Unzip On Debian/Ubuntu, you should use the next commands to install zip/unzip: 1 sudo apt-get install zip unzip To unzip information or directories (photographs.zip), use: 1 unzip photographs.zip options When Unzipping Your information There are a couple of options beneficial of noting with the unzip command: Let’s say we needed a single image1.png from our photographs.zip. 1 unzip images.zip image1.png What if we wish to unzip our information to a unique listing (named ./listing/)? 1 unzip images.zip -d ./listing/ if you are not sure of the integrity of the zip file and just wish to test it, you can use the -t flag. 1 unzip -t pictures.zip If we wanted to just listing the files in a zipper file, we are able to use a easy command. 1 unzip -l images.zip should you run into trouble, the unzip man page is a superb resource. 1 man unzip

Share.

Leave A Reply