How To Extract / Unzip tar.gz Files From Linux Command Line?

Extracting tar.gz files from Linux is a challenging task as it requires multiple tools, most of which are present only in the command line. It unzips and removes the contents of a zip file. But it also can unzip tar files that have been compressed with the .tar extension, so basically it supports all the common archive file formats that come compressed in tar format.

how to untar tar.gz

By ArjinoodlesArjinoodles on Aug 01, 2020
 tar xvzf file.tar.gz

Source: www.interserver.net

Add Comment

12

bash command for unzipping tar.gz files

By Obsequious OctopusObsequious Octopus on Oct 04, 2020
# 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

Source: www.interserver.net

Add Comment

7

unzip tar.gz

By nic0x801nic0x801 on Mar 25, 2020
tar -xvf file.tar.gz

Add Comment

8

extract tar.gz ubuntu terminal

By VishalVishal on Jun 13, 2020
tar -xvf yourfile.tar.gz

Add Comment

8

untar tar.gz

By Jittery JackalJittery Jackal on Jun 26, 2020
tar -xzf file.tar.gz

Add Comment

7

linux unpack tar.gz file

By Cheerful CottonmouthCheerful Cottonmouth on Jan 26, 2021
tar -zxvf file_name.tar.gz

Add Comment

2

UNZIP is a command line utility that extracts the contents of a tarball (tar, tgz or gz) archive. In other words, unzip does what its name says.

Shell/Bash answers related to "untar tar.gz"

View All Shell/Bash queries

Shell/Bash queries related to "untar tar.gz"

Browse Other Code Languages

CodeProZone