unpack .tar.gz windows code example Example 1: untar tar.gz tar -xzf file.tar.gz Example 2: linux unpack tar.gz file tar -zxvf file_name.tar.gz