Last Updated: February 25, 2016
·
1.19K
· sativaware

Linux: Extract a tar/gzip file

tar -xf <file.tar.gz>

2 Responses
Add your response

I usually just use tar -xf <file.tar.gz> on .gz files, omitting the z as tar usually figures out the compression type.

over 1 year ago ·

Great thanks for the tip, I'm going to use that from now on.

over 1 year ago ·