How to unzip tar.gz linux

In this article let’s discuss about How to unzip tar.gz linux. Let’s go through the following methods without any delay.

Method 1:

# Basic syntax:
tar -zxvf file.tar.gz

# Where:
#	- x tells tar to extract the files
#	- v tells the command to list all of the files in the archive
#	- z tells the tar command to uncompress the file (gzip)
#	- f tells tar that you are going to give it a file name to work with

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!

Method 2 :

 tar xvzf file.tar.gz

Hope the above solution works.

Realted Posts : How to access wsl from explorer in windows