unzip tar.gz files code example Example 1: unzip tar.gz tar -xvf file.tar.gz Example 2: linux unpack tar.gz file tar -zxvf file_name.tar.gz