Heater wrote: ↑
Sun Jun 28, 2020 10:53 pm
$ gunzip fileName.tar.gz
$ tar -xvf fileName.tar
Or do it in one go, saves having the decompressed tar file lingering around (and keeps the original compressed file)
option passes the file through an appropriate decompresser based on file suffix (supports bzip2, gzip, xz, lzip, lzma, compress and probably a few others). Use z
instead of a
to specifically use gzip.
doesn't need the - before option letters (though it accepts them).